Improve build time of httpbin e2e test image

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-04-22 12:12:52 -04:00
parent afa91cc4e4
commit 5559a59391

View file

@ -17,9 +17,14 @@ FROM alpine:3.11
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apk add --no-cache \
python3 python3-dev musl-dev gcc g++ make libffi libffi-dev libstdc++ \
&& pip3 install gunicorn httpbin gevent \
RUN echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
&& apk update \
&& apk add --no-cache \
python3 python3-dev \
musl-dev gcc g++ make \
libffi libffi-dev libstdc++ \
py3-gevent py3-gunicorn py3-wheel@edge \
&& pip3 install httpbin \
&& apk del python3-dev musl-dev gcc g++ make libffi-dev
EXPOSE 80