mirror of https://github.com/openspug/spug
U - 更新 dockerfile以及软件包依赖。
parent
3fb8f51455
commit
48760f9fea
|
@ -3,7 +3,7 @@ ENV VERSION=1.0.5
|
||||||
|
|
||||||
RUN echo -e "http://mirrors.aliyun.com/alpine/v3.10/main\nhttp://mirrors.aliyun.com/alpine/v3.10/community" > /etc/apk/repositories
|
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 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
|
RUN apk add --no-cache --virtual .build-deps openssl-dev gcc musl-dev python3-dev libffi-dev openssl-dev make openldap-dev
|
||||||
RUN echo $VERSION && git clone https://github.com/openspug/spug.git --depth=1 /spug && cd /spug && git pull
|
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 \
|
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 \
|
||||||
|
|
|
@ -42,3 +42,4 @@ urllib3==1.24.3
|
||||||
websocket-client==0.56.0
|
websocket-client==0.56.0
|
||||||
Werkzeug==0.16.0
|
Werkzeug==0.16.0
|
||||||
python-ldap==3.2.0
|
python-ldap==3.2.0
|
||||||
|
flask_simpleldap==1.4.0
|
||||||
|
|
Loading…
Reference in New Issue