浏览代码

make docker use curl

Robert Lowry 5 年之前
父节点
当前提交
de6cc17b0c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -3,8 +3,8 @@ FROM alpine:3.9 as stage0
 ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
 ARG ARCH=x86_64
 COPY keys/* /target/var/db/xbps/keys/
-RUN apk add ca-certificates && \
-  wget -O - ${REPOSITORY}/static/xbps-static-latest.$(uname -m)-musl.tar.xz | \
+RUN apk add ca-certificates curl && \
+  curl ${REPOSITORY}/static/xbps-static-latest.$(uname -m)-musl.tar.xz | \
     tar Jx && \
   XBPS_ARCH=${ARCH} xbps-install.static -yMU \
     --repository=${REPOSITORY}/current \