mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
trim-after-delete: Add go.mod
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit is contained in:
parent
158461502a
commit
01e242cad1
@ -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
|
||||||
|
|
||||||
|
3
pkg/trim-after-delete/go.mod
Normal file
3
pkg/trim-after-delete/go.mod
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module github.com/linuxkit/linuxkit/pkg/trim-after-delete
|
||||||
|
|
||||||
|
go 1.15
|
Loading…
Reference in New Issue
Block a user