From cc368c2c7f6c19879bd848f5153eb678909ae19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8E=89=E5=9D=A1?= Date: Mon, 28 Oct 2019 10:37:34 +0800 Subject: [PATCH] U - update dockerfile --- docs/Dockerfile/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Dockerfile/Dockerfile b/docs/Dockerfile/Dockerfile index 608fff72..4607f23b 100644 --- a/docs/Dockerfile/Dockerfile +++ b/docs/Dockerfile/Dockerfile @@ -2,8 +2,8 @@ FROM python:3.6-alpine ENV VERSION=1.1.0 RUN echo -e "http://mirrors.aliyun.com/alpine/v3.10/main\nhttp://mirrors.aliyun.com/alpine/v3.10/community" > /etc/apk/repositories -RUN apk update && apk add --no-cache nginx mariadb nodejs-npm git -RUN apk add --no-cache --virtual .build-deps openssl-dev gcc musl-dev python3-dev libffi-dev openssl-dev make build-base openldap-dev +RUN apk update && apk add --no-cache nginx mariadb nodejs-npm git build-base openldap-dev +RUN apk add --no-cache --virtual .build-deps openssl-dev gcc musl-dev python3-dev libffi-dev openssl-dev make RUN echo $VERSION && git clone https://github.com/openspug/spug.git --depth=1 /spug && cd /spug && git pull RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ && pip install --upgrade pip && pip install --no-cache-dir -r /spug/spug_api/requirements.txt \