moved the final label to the very bottom, since they will always change

This commit is contained in:
Tobias Schmidl 2023-09-07 13:36:54 +02:00
parent 7177edafd4
commit f47146583e

View file

@ -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}