From 6c9960eab19439c21c19282e491a33171db974da Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 4 Oct 2017 17:42:13 -0700 Subject: [PATCH] Switch to using alpine based image for repo2docker This cuts image size from under 300MB to under 100MB. Plus we will never actually need this to have additional libraries installed, since it's talking to the docker socket directly to build new images. So switching to alpine here is worth it. --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9df2fa5..db8f09ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,5 @@ -FROM ubuntu:17.04 +FROM python:3.6.3-alpine3.6 -RUN apt-get update && \ - apt-get install --yes --no-install-recommends \ - python3 \ - python3-pip \ - python3-setuptools \ - git && \ - apt-get clean && apt-get purge RUN mkdir /tmp/src ADD . /tmp/src