Skip to content

Instantly share code, notes, and snippets.

@hdonnay
Last active July 18, 2022 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdonnay/56426a14f0b5f9c402af7d7603cb4d49 to your computer and use it in GitHub Desktop.
Save hdonnay/56426a14f0b5f9c402af7d7603cb4d49 to your computer and use it in GitHub Desktop.
FROM docker.io/library/golang:1.18
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod\
go install golang.org/x/tools/cmd/stringer@latest
RUN stringer -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment