Small service writen in Go to request svg placeholder images. The Go app is statically compiled and added to an empty docker container for running.
The file build.sh
builds the go app as a static binary, then adds it to a scratch docker container along with any app resources in www-dist/
.
The build steps are:
- Build the svg-placeholder Go binary
- Minify static resources and output to
www-dist/
- Build the docker container (tagged as
bezzer/svg-placeholder
)
MIT