Skip to content

Commit

Permalink
Add apk update and upgrade [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyzlj committed Jul 14, 2022
1 parent dec6514 commit 1cecc66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ FROM crazyzlj/taudem_ext:alpine-openmpi-gdal-py3-latest as builder

# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update && apk upgrade \
&& apk add py3-pip

WORKDIR /pygeoc
Expand All @@ -27,6 +28,7 @@ FROM crazyzlj/taudem_ext:alpine-openmpi-gdal-py3-latest AS final
# Running PyGeoC requires GDAL, numpy, and matplotlib, so we need to add py3-matplotlib
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update && apk upgrade \
&& apk add py3-matplotlib

RUN mkdir /root/.local
Expand Down

0 comments on commit 1cecc66

Please sign in to comment.