forked from spritsail/alpine
Temporary 3.8 fix.
Waiting on https://github.com/docker-library/official-images/pull/4501
This commit is contained in:
12
Dockerfile
12
Dockerfile
@ -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
|
||||
|
Reference in New Issue
Block a user