moved the final label to the very bottom, since they will always change
This commit is contained in:
parent
7177edafd4
commit
f47146583e
1 changed files with 4 additions and 4 deletions
|
@ -14,10 +14,6 @@ org.opencontainers.image.title=buildimage \
|
||||||
org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \
|
org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \
|
||||||
org.opencontainers.image.url="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 \
|
RUN apt update \
|
||||||
&& apt install --assume-yes --no-install-recommends \
|
&& apt install --assume-yes --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
@ -30,3 +26,7 @@ RUN useradd -rm builder
|
||||||
USER builder
|
USER builder
|
||||||
|
|
||||||
WORKDIR /workdir
|
WORKDIR /workdir
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.revision=${GIT_COMMIT}
|
||||||
|
LABEL org.opencontainers.image.version=${VERSION}
|
||||||
|
LABEL org.opencontainers.image.created=${TIMESTAMP}
|
||||||
|
|
Loading…
Reference in a new issue