set version label
This commit is contained in:
parent
4ecf6056bd
commit
85a2775811
1 changed files with 3 additions and 0 deletions
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue