@@ -20,6 +20,10 @@ VOLUME /home/gradle/.gradle
|
||||
WORKDIR /home/gradle
|
||||
|
||||
RUN set -o errexit -o nounset \
|
||||
&& echo "Switching apk mirror to aliyun" \
|
||||
&& sed -i 's|https\?://dl-cdn.alpinelinux.org/alpine|https://mirrors.aliyun.com/alpine|g' /etc/apk/repositories \
|
||||
&& apk update \
|
||||
\
|
||||
&& apk add --no-cache \
|
||||
curl \
|
||||
make \
|
||||
|
||||
Reference in New Issue
Block a user