mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-07 18:01:50 +00:00
@@ -18,7 +18,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
|||||||
FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS build
|
FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS build
|
||||||
|
|
||||||
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/format/go.mod
Normal file
3
pkg/format/go.mod
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
module github.com/linuxkit/linuxkit/pkg/format
|
||||||
|
|
||||||
|
go 1.15
|
Reference in New Issue
Block a user