set version label

This commit is contained in:
chris 2019-11-16 16:20:24 +01:00
parent 4ecf6056bd
commit 85a2775811
1 changed files with 3 additions and 0 deletions

View File

@ -13,5 +13,8 @@ RUN set -x; apk add --no-cache curl &&\
sed -i "s#http://dl-cdn.alpinelinux.org/alpine/v${ALPINE_SERIES}#${ALPINE_MIRROR}#g" /dest/etc/apk/repositories
FROM scratch
ARG VERSION
LABEL version.alpine=$VERSION
COPY --from=build /dest /
CMD ["/bin/sh"]