A really small static web server for Docker
Find a file
2015-07-16 21:54:40 +02:00
LICENSE Initial commit 2015-07-16 20:55:23 +02:00
main.go adding first batch of code 2015-07-16 21:54:40 +02:00
Makefile adding first batch of code 2015-07-16 21:54:40 +02:00
README.md Create README.md 2015-07-16 21:10:08 +02:00

goStatic

A really small static web server for Docker

The goal

My goal is to create to smallest docker container for my web static files. The advantage of Go is that you can generate a fully static binary, so that you don't need anything else.

Why?

Because the official Golang image is wayyyy to big. (around 1/2Gb as you can see below)

For me, the whole point of containers is to have a light container... Many links should provide you with additionnal info to see my point of view:

What are you using?

I'm using echo as a micro web framework because he has great performance, and golang-builder to generate the static binary.