Sign inSign up

greent/gowiki

By greent

•Updated almost 11 years ago

Sample Golang app Gowiki

Image
0

400

greent/gowiki repository overview

⁠What is it?

This is an ultra-minimal container built from the special scratch repository. When launched, it will execute a single statically linked Golang binary, providing a very simple (but editable) wiki application. The total image size is less than 8MB.

⁠To launch

docker run --name gowiki -d -p 8080:8080 greent/gowiki

⁠Dockerfile

FROM scratch ADD bin/wiki /wiki ADD bin/edit.html /edit.html ADD bin/view.html /view.html CMD ["/wiki"]

⁠How to use the Wiki

http://<host_ip>:8080/view/ANewPage

https://golang.org/doc/articles/wiki/⁠

Tag summary

Content type

Image

Digest

sha256:169e29b9e…

Size

2 MB

Last updated

almost 11 years ago

docker pull greent/gowiki