A Go-based CLI tool for working with development containers.
Download the latest binary from the releases page.
go build -o nanolayer .nanolayer test- Run a test commandnanolayer version- Display version informationnanolayer --version- Display version information (shorthand)
# Run the test command
./nanolayer test
# Check version
./nanolayer version
./nanolayer --version- Go 1.25 or later
go build -ldflags "\
-X github.com/devcontainer-community/nanolayer-go/cmd.Version=v1.0.0 \
-X github.com/devcontainer-community/nanolayer-go/cmd.Commit=$(git rev-parse HEAD) \
-X github.com/devcontainer-community/nanolayer-go/cmd.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
-o nanolayer .This project uses GoReleaser for building and releasing binaries.
To create a new release:
- Tag your commit:
git tag -a v1.0.0 -m "Release v1.0.0" - Push the tag:
git push origin v1.0.0 - GitHub Actions will automatically build and release binaries for Linux (amd64 and arm64)
# Install GoReleaser
go install github.com/goreleaser/goreleaser@latest
# Test the release process (without publishing)
goreleaser release --snapshot --clean[Add your license here]