Commit d925ac4a authored by Sparkf's avatar Sparkf 🏙️
Browse files

Update Dockerfile

parent 8ee6123a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
FROM python:3.9-alpine
FROM python:alpine3.17

RUN echo "https://mirrors.sustech.edu.cn/alpine/v3.17/main" > /etc/apk/repositories
RUN echo "https://mirrors.sustech.edu.cn/alpine/v3.17/community" >> /etc/apk/repositories

RUN apk add --update --no-cache --virtual .build-deps \
        g++ \
@@ -8,5 +11,6 @@ RUN apk add --update --no-cache --virtual .build-deps \
        libxml2 \
        libxml2-dev && \
    apk add libxslt-dev
RUN pip3 config set global.index-url https://mirrors.sustech.edu.cn/pypi/simple
RUN pip3 install bandersnatch
CMD /bin/bash