diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7b7b35..5b76944 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,7 @@ jobs: go-version: 1.21 cache: true + # https://stackoverflow.com/questions/51475992/cgo-cross-compiling-from-amd64linux-to-arm64linux/75368290#75368290 - name: musl-cross for CGO Support run: | mkdir ../../musl-cross diff --git a/Dockerfile b/Dockerfile index 1c8592d..7a9b264 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine +FROM gcr.io/distroless/static-debian11 USER nonroot:nonroot