add dependencies for pillow
This commit is contained in:
parent
74858130ef
commit
4b6a5253b5
15
Dockerfile
15
Dockerfile
|
@ -6,7 +6,20 @@ ENV ENV PROD
|
||||||
|
|
||||||
# 更改alpine镜像源并安装依赖
|
# 更改alpine镜像源并安装依赖
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirror.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirror.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
||||||
&& apk add -U --no-cache gcc musl-dev postgresql-dev
|
&& apk add -U --no-cache gcc \
|
||||||
|
musl-dev \
|
||||||
|
# postgresql
|
||||||
|
postgresql-dev \
|
||||||
|
# pillow
|
||||||
|
jpeg-dev \
|
||||||
|
zlib-dev \
|
||||||
|
freetype-dev \
|
||||||
|
lcms2-dev \
|
||||||
|
openjpeg-dev \
|
||||||
|
tiff-dev \
|
||||||
|
tk-dev \
|
||||||
|
tcl-dev
|
||||||
|
|
||||||
|
|
||||||
# 更换pip镜像源并更新pip
|
# 更换pip镜像源并更新pip
|
||||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
|
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
|
||||||
|
|
Loading…
Reference in New Issue