From 6e9ecc467e562a5479f6542e514379d437403698 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Mon, 13 Apr 2020 18:01:24 -0400 Subject: [PATCH] Cleanup httpbin image --- images/httpbin/rootfs/Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/images/httpbin/rootfs/Dockerfile b/images/httpbin/rootfs/Dockerfile index 3f233d112..4e0378146 100644 --- a/images/httpbin/rootfs/Dockerfile +++ b/images/httpbin/rootfs/Dockerfile @@ -12,18 +12,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM k8s.gcr.io/debian-base:v2.0.0 +FROM alpine:3.11 ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8 -WORKDIR /httpbin - -RUN clean-install python3-pip curl python3-pip git bash gcc libstdc++-8-dev libpython3.7-dev python3-setuptools \ - && pip3 install --no-cache-dir httpbin \ - && pip3 install --no-cache-dir gunicorn \ - && pip3 install --no-cache-dir gevent \ - && apt remove git gcc libstdc++-8-dev libpython3.7-dev python3-setuptools --yes +RUN apk add --no-cache \ + python3 python3-dev musl-dev gcc g++ make libffi libffi-dev libstdc++ \ + && pip3 install gunicorn httpbin gevent \ + && apk del python3-dev musl-dev gcc g++ make libffi-dev EXPOSE 80