Skip to content

Go Container Image

Debian-based Go runtime for building and testing Go applications.

Features

  • Installs the official Go toolchain on a stable Debian base.
  • Suitable for CI pipelines, local development, and multi-stage builds.

Usage

Pull the image

podman pull registry.gitlab.com/niclas-zone/ctr/go:latest

Build a Go project

podman run --rm \
  -v $(pwd):/workspace \
  -w /workspace \
  registry.gitlab.com/niclas-zone/ctr/go:latest \
  go build ./...

Run tests

podman run --rm \
  -v $(pwd):/workspace \
  -w /workspace \
  registry.gitlab.com/niclas-zone/ctr/go:latest \
  go test ./...

Author

Niclas Heinz

Contributing

Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.

License

This project is licensed under the MIT License. See LICENSE for details.