| | Task Tracker | Docker Hub
Gorki is a simple, opinionated static site generator written in Go. It allows you to generate a blog from Markdown written articles.
make package
runs tests, builds the default binary.make deploy
runs tests, builds for local env and amd64, creates and pushes docker image.
To aid development of the site, run a local webserver:
docker run -d -p 8080:80 --name local-serve --rm -v $PWD/target:/var/www/html/website tastybug/dockerized-nginx-local-serve nginx
to quickly check how the site looks like.
To test from within the container, run
docker run --name gorki --rm -ti -v $PWD/site:/app/site "tastybug/gorki:latest-multi" /bin/ash
docker run --name gorki --rm -v $PWD/site:/app/site "tastybug/gorki:latest-multi"
# this step only on the very first run
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx build --platform=linux/amd64,linux/arm/v7 -t tastybug/gorki:latest-multi --push .