U - update dockerfile

1.x
张玉坡 2019-10-28 07:56:18 +08:00
parent fff1548602
commit dc642d284a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ 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 openldap-dev
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 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 \