Temporary 3.8 fix.

Waiting on https://github.com/docker-library/official-images/pull/4501
This commit is contained in:
2018-06-30 18:57:32 +01:00
parent 7853193403
commit 1ddb92853c
2 changed files with 13 additions and 12 deletions

View File

@ -1,7 +1,17 @@
ARG SU_EXEC_VER=v0.3
ARG ALPINE_TAG=3.8
FROM alpine:$ALPINE_TAG
FROM alpine:3.7 AS upgrade
ARG ALPINE_TAG
RUN sed -i "s/3\.7/${ALPINE_TAG}/g" /etc/apk/repositories \
&& apk --no-cache upgrade
# ~~~~~~~~~~~~~~~~~~~~~~
FROM scratch
COPY --from=upgrade / /
ARG SU_EXEC_VER
ARG ALPINE_TAG