Skip to content

Commit c999cc8

Browse files
committed
Upgrade to latest versions
1 parent fad2331 commit c999cc8

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

Dockerfile

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
1-
FROM apihackers/python3
1+
FROM alpine:3.5
22

3-
RUN apk add --update --no-cache bash ca-certificates && update-ca-certificates
3+
# RUN apk add --update --no-cache bash ca-certificates && update-ca-certificates
4+
RUN apk add --update --no-cache bash ca-certificates python3 \
5+
&& python3 -m ensurepip \
6+
&& rm -r /usr/lib/python*/ensurepip \
7+
&& pip3 install --upgrade pip setuptools \
8+
&& update-ca-certificates \
9+
&& rm -r /root/.cache
410

5-
ENV DEVPI_SERVER_VERSION=4.1.0 \
11+
ENV DEVPI_SERVER_VERSION=4.2.1 \
612
DEVPI_WEB_VERSION=3.1.1 \
7-
DEVPI_CLIENT_VERSION=2.6.4 \
13+
DEVPI_CLIENT_VERSION=2.7.0 \
814
DEVPI_CLEANER_VERSION=0.2.0 \
9-
DEVPI_SEMANTIC_UI_VERSION=0.1.0 \
15+
DEVPI_SEMANTIC_UI_VERSION=0.2.1 \
1016
DEVPI_THEME=semantic-ui
1117

12-
RUN pip install devpi-server==$DEVPI_SERVER_VERSION \
13-
devpi-web==$DEVPI_WEB_VERSION \
14-
devpi-client==$DEVPI_CLIENT_VERSION \
15-
devpi-cleaner==$DEVPI_CLEANER_VERSION \
16-
devpi-semantic-ui==$DEVPI_SEMANTIC_UI_VERSION \
17-
&& rm -r /root/.cache
18+
RUN apk add --no-cache --virtual .build-deps gcc python3-dev libffi-dev musl-dev \
19+
&& pip install devpi-server==$DEVPI_SERVER_VERSION \
20+
devpi-web==$DEVPI_WEB_VERSION \
21+
devpi-client==$DEVPI_CLIENT_VERSION \
22+
devpi-cleaner==$DEVPI_CLEANER_VERSION \
23+
devpi-semantic-ui==$DEVPI_SEMANTIC_UI_VERSION \
24+
&& apk del .build-deps \
25+
&& rm -r /root/.cache
26+
1827

1928
ENV DEVPI_SERVERDIR /devpi/server
2029

0 commit comments

Comments
 (0)