You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support Alpine Linux the CGO_ENABLED=0 flag
is needed, which is set in .goreleaser.yml but was not
set in the Dockerfile.
Before this change the binary built via the Dockerfile
was not compatible with hashicorp/terraform base image,
which is based on Alpine Linux.
RUN curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v0.4.2/gotestsum_0.4.2_linux_amd64.tar.gz" | tar -xz -C /usr/local/bin gotestsum
4
4
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0
0 commit comments