trim-after-delete: Add go.mod

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit is contained in:
Dave Tucker 2021-04-30 10:50:05 +01:00
parent 158461502a
commit 01e242cad1
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
# We also need the Go binary which calls it: # We also need the Go binary which calls it:
RUN apk add --no-cache go musl-dev RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off ENV GOPATH=/go PATH=$PATH:/go/bin
# Hack to work around an issue with go on arm64 requiring gcc # Hack to work around an issue with go on arm64 requiring gcc
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true

View File

@ -0,0 +1,3 @@
module github.com/linuxkit/linuxkit/pkg/trim-after-delete
go 1.15