File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ RUN apk upgrade --no-cache \
1616 && apk add --no-cache -t build-dependencies \
1717 gcc \
1818 g++ \
19- musl -dev \
19+ python3 -dev \
2020 libffi-dev \
21+ build-base \
22+ && apk add --no-cache \
23+ musl-dev \
2124 python3 \
22- python3-dev \
2325 py3-pip \
2426 sqlite \
2527 openssl \
@@ -28,8 +30,7 @@ RUN apk upgrade --no-cache \
2830 && pip3 install --upgrade --no-cache --no-cache-dir --ignore-installed pip wheel \
2931 && pip3 install --no-cache --no-cache-dir --ignore-installed nikas==$VERSION \
3032 && apk del build-dependencies \
31- && rm -rf /tmp/* \
32- && rm -rf /var/cache/apk/*
33+ && rm -rf /tmp/* /var/cache/apk/*
3334
3435EXPOSE 8080
3536
Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ RUN apk upgrade --no-cache \
1818 && apk add --no-cache -t build-dependencies \
1919 gcc \
2020 g++ \
21- musl -dev \
21+ python3 -dev \
2222 libffi-dev \
23+ build-base \
24+ && apk add --no-cache \
25+ musl-dev \
2326 python3 \
24- python3-dev \
2527 py3-pip \
2628 sqlite \
2729 openssl \
@@ -31,8 +33,7 @@ RUN apk upgrade --no-cache \
3133 && pip3 install --no-cache --no-cache-dir -r /tmp/requirements.txt \
3234 && pip3 install --no-cache --no-cache-dir --ignore-installed --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ nikas==$VERSION \
3335 && apk del build-dependencies \
34- && rm -rf /tmp/* \
35- && rm -rf /var/cache/apk/*
36+ && rm -rf /tmp/* /var/cache/apk/*
3637
3738EXPOSE 8080
3839
You can’t perform that action at this time.
0 commit comments