root: add opencontainer labels to dockerfiles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5bfb8b454b
commit
5cca637a3d
|
@ -34,6 +34,10 @@ RUN go build -o /work/authentik ./cmd/server/main.go
|
||||||
# Stage 4: Run
|
# Stage 4: Run
|
||||||
FROM docker.io/python:3.10.1-slim-bullseye
|
FROM docker.io/python:3.10.1-slim-bullseye
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url https://goauthentik.io
|
||||||
|
LABEL org.opencontainers.image.description goauthentik.io Main server image, see https://goauthentik.io for more info.
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/goauthentik/authentik
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
ARG GIT_BUILD_HASH
|
ARG GIT_BUILD_HASH
|
||||||
|
|
|
@ -10,6 +10,10 @@ RUN go build -o /go/ldap ./cmd/ldap
|
||||||
# Stage 2: Run
|
# Stage 2: Run
|
||||||
FROM gcr.io/distroless/static-debian11:debug
|
FROM gcr.io/distroless/static-debian11:debug
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url https://goauthentik.io
|
||||||
|
LABEL org.opencontainers.image.description goauthentik.io LDAP outpost, see https://goauthentik.io for more info.
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/goauthentik/authentik
|
||||||
|
|
||||||
ARG GIT_BUILD_HASH
|
ARG GIT_BUILD_HASH
|
||||||
ENV GIT_BUILD_HASH=$GIT_BUILD_HASH
|
ENV GIT_BUILD_HASH=$GIT_BUILD_HASH
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,10 @@ RUN go build -o /go/proxy ./cmd/proxy
|
||||||
# Stage 3: Run
|
# Stage 3: Run
|
||||||
FROM gcr.io/distroless/static-debian11:debug
|
FROM gcr.io/distroless/static-debian11:debug
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.url https://goauthentik.io
|
||||||
|
LABEL org.opencontainers.image.description goauthentik.io Proxy outpost image, see https://goauthentik.io for more info.
|
||||||
|
LABEL org.opencontainers.image.source https://github.com/goauthentik/authentik
|
||||||
|
|
||||||
ARG GIT_BUILD_HASH
|
ARG GIT_BUILD_HASH
|
||||||
ENV GIT_BUILD_HASH=$GIT_BUILD_HASH
|
ENV GIT_BUILD_HASH=$GIT_BUILD_HASH
|
||||||
|
|
||||||
|
|
Reference in a new issue