Public | Automated Build

Last pushed: 2 years ago
Short Description
Minimal (4MB) Golang based hello world app for ONUG tutorial
Full Description

##Hello_ONUG

A minimal Docker container with a staticly linked Go binary inside a FROM scratch container. Based on the excellent work by Adriaan de Jonge with his efforts to Create The Smallest Possible Docker Container.

Compiling static binaries in Go 1.4 has changed a little so I needed to add the -installsuffix flag to the build line:

CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s' -installsuffix .
Docker Pull Command
Owner
cpswan
Source Repository

Comments (0)