From 5559a593911c892213f4f28d4b1aa560088f4eaa Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Wed, 22 Apr 2020 12:12:52 -0400 Subject: [PATCH] Improve build time of httpbin e2e test image --- images/httpbin/rootfs/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/images/httpbin/rootfs/Dockerfile b/images/httpbin/rootfs/Dockerfile index 4e0378146..ff0daf964 100644 --- a/images/httpbin/rootfs/Dockerfile +++ b/images/httpbin/rootfs/Dockerfile @@ -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