diff --git a/pkg/format/Dockerfile b/pkg/format/Dockerfile index 5abe9f847..b3f24a566 100644 --- a/pkg/format/Dockerfile +++ b/pkg/format/Dockerfile @@ -18,7 +18,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS build 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 RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true diff --git a/pkg/format/go.mod b/pkg/format/go.mod new file mode 100644 index 000000000..1d11d0bc1 --- /dev/null +++ b/pkg/format/go.mod @@ -0,0 +1,3 @@ +module github.com/linuxkit/linuxkit/pkg/format + +go 1.15