diff --git a/dockerfile b/dockerfile index 9f9a965..0f4b951 100644 --- a/dockerfile +++ b/dockerfile @@ -14,10 +14,6 @@ org.opencontainers.image.title=buildimage \ org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \ org.opencontainers.image.url="https://git.schmidl.dev/schtobia/buildimage" -LABEL org.opencontainers.image.revision=${GIT_COMMIT} -LABEL org.opencontainers.image.version=${VERSION} -LABEL org.opencontainers.image.created=${TIMESTAMP} - RUN apt update \ && apt install --assume-yes --no-install-recommends \ build-essential \ @@ -30,3 +26,7 @@ RUN useradd -rm builder USER builder WORKDIR /workdir + +LABEL org.opencontainers.image.revision=${GIT_COMMIT} +LABEL org.opencontainers.image.version=${VERSION} +LABEL org.opencontainers.image.created=${TIMESTAMP}