Create Docker image FROM scratch
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Change work dir Jul 2, 2014 Add link to new blog May 11, 2017
helloworld.go Initial version Jul 2, 2014


Create Docker image FROM scratch

This GitHub repository belongs with the following blog post:

Update (11 May 2017): The image creation process is greatly simplified with the introduction of Multi-Stage Builds. See my new blog “Simplify the Smallest Possible Docker Image

The helloworld.go provides a simple web server that says Hello World. The Dockerfile creates a Docker image from scratch and places the Hello World web server inside it.