Skip to content

Commit

Permalink
Add Docker LABEL to associate the built images with the docker-rust
Browse files Browse the repository at this point in the history
… repository
  • Loading branch information
Kobzol committed Apr 2, 2024
1 parent 2332d70 commit 47a9dd1
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 1.77.1/alpine3.18/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:3.18

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

RUN apk add --no-cache \
ca-certificates \
gcc
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/alpine3.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:3.19

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

RUN apk add --no-cache \
ca-certificates \
gcc
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/bookworm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:bookworm

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/bookworm/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:bookworm-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:bullseye

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/bullseye/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:bullseye-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/buster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:buster

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions 1.77.1/buster/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:buster-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:%%TAG%%

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

RUN apk add --no-cache \
ca-certificates \
gcc
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-debian.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:%%DEBIAN-SUITE%%

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-slim.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:%%DEBIAN-SUITE%%-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/alpine3.18/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:3.18

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

RUN apk add --no-cache \
ca-certificates \
gcc
Expand Down
2 changes: 2 additions & 0 deletions nightly/alpine3.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM alpine:3.19

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

RUN apk add --no-cache \
ca-certificates \
gcc
Expand Down
2 changes: 2 additions & 0 deletions nightly/bookworm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:bookworm

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/bookworm/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:bookworm-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:bullseye

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/bullseye/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:bullseye-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/buster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM buildpack-deps:buster

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down
2 changes: 2 additions & 0 deletions nightly/buster/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM debian:buster-slim

LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
Expand Down

0 comments on commit 47a9dd1

Please sign in to comment.