From f6c91c85feac5fca56ff5200dfe1480eb19d1da7 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Tue, 29 Aug 2017 20:08:34 +0200 Subject: [PATCH] Switch to alpine base image This drastically decreases the overall image size. Quick comparison: ``` # Image fetched from Docker Hub dutchcoders/transfer.sh latest a875ed5dfa56 5 months ago 704MB # Image just built dutchcoders/transfer.sh latest a220c49297eb 4 minutes ago 269MB ``` --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0775f0f..1f1d136 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.7 +FROM golang:1.7-alpine MAINTAINER Remco Verhoef # Copy the local package files to the container's workspace.