set version label
This commit is contained in:
parent
4ecf6056bd
commit
85a2775811
|
@ -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
|
sed -i "s#http://dl-cdn.alpinelinux.org/alpine/v${ALPINE_SERIES}#${ALPINE_MIRROR}#g" /dest/etc/apk/repositories
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
ARG VERSION
|
||||||
|
LABEL version.alpine=$VERSION
|
||||||
COPY --from=build /dest /
|
COPY --from=build /dest /
|
||||||
CMD ["/bin/sh"]
|
CMD ["/bin/sh"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue