~priegger/go-hello-world

add docker build
add nixos ci build
set up a dev environment

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~priegger/go-hello-world
read/write
git@git.sr.ht:~priegger/go-hello-world

You can also use your local clone with git send-email.

#go-hello-world

A simple hello-world go application.

#Building and running the docker image

#Using nix

docker load < $(nix-build ci.nix -A docker-image)
docker run --rm -it --name go-hello-world-nix go-hello-world:dev-nix
docker export go-hello-world-nix | tar tf -

#Using the Dockerfile

docker build -t go-hello-world:dev-alpine .
docker run --rm -it -p 8000 --name go-hello-world-alpine go-hello-world:dev-alpine
docker export go-hello-world-alpine | tar tf -