Sign inSign up

trydock/static_server

By trydock

Updated 12 days ago

A static server in Go

Image
0

7.3K

trydock/static_server repository overview

Static Server

a simple webserver written in Go, taken from this example:

https://blog.logrocket.com/creating-a-web-server-with-golang/

build in golang:1.19.1-bullseye container image.

Invocation

docker run --rm --name server -p 8080:8080 trydock/static_server:v0.0.1

or

docker run --rm --name server -p 8080:8080 trydock/static_server:main

main is build daily.

Use Case

zero, zip, zilch, nada !

Why

Research, to see how small a minimal go program can be in "size-wise" to have a basic "static web-server" capability. I think it was 4.4 Mb.

Who

debuggerboy - just playing with Go!

Tag summary

Content type

Image

Digest

sha256:29e47f2b9

Size

1.9 MB

Last updated

12 days ago

docker pull trydock/static_server:main