Update Dockerfile — retry

This commit is contained in:
thomas-ganter 2021-02-14 17:35:18 +01:00
parent a357087014
commit 1ad66c1a05
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@ FROM alpine:latest as builder
WORKDIR /work
RUN \
apk update && \
apk add curl && \
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
apk update && \
apk add curl && \
curl --retry 3 -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
unzip -qq master.zip && \
cd plainkit-master && \
rm -rf README.md .editorconfig .gitignore .htaccess composer.json