Open kometchtech opened 5 years ago
arm64v8/golang:alpine を使用すると、go buildに失敗する。
make: *** Waiting for unfinished jobs.... (cd /go/src/github.com/mholt/caddy 2>/dev/null && git checkout -q master 2>/dev/null || true) (cd /go/src/github.com/miekg/dns 2>/dev/null && git checkout -q master 2>/dev/null || true) (cd /go/src/github.com/prometheus/client_golang 2>/dev/null && git checkout -q master 2>/dev/null || true) go get -u github.com/mholt/caddy go get -u github.com/miekg/dns go get -u github.com/prometheus/client_golang/prometheus/promhttp go get -u github.com/prometheus/client_golang/prometheus (cd /go/src/github.com/mholt/caddy && git checkout -q v0.10.13) (cd /go/src/github.com/miekg/dns && git checkout -q v1.0.15) (cd /go/src/github.com/prometheus/client_golang && git checkout -q v0.8.0) go get -u golang.org/x/tools/cmd/benchcmp || true + true Removing intermediate container 463193cc8f3d ---> 132ad8c6c0d5 Step 6/12 : FROM scratch ---> Step 7/12 : LABEL maintainer="kometchtech <kometch@*******>" arch="aarch64" description="CoreDNS (writ ten in Go) chains plugins. Each plugin performs a DNS function." url="https://github.com/coredns/coredns" ---> Using cache ---> 9a7b21c778b1 Step 8/12 : ENV TZ=Asia/Tokyo ---> Using cache ---> bd423fd0f1cb Step 9/12 : COPY --from=build-env /etc/ssl/certs /etc/ssl/certs ---> 6a3f0b820477 Step 10/12 : COPY --from=build-env /go/src/github.com/coredns/coredns/coredns /usr/local/bin/coredns COPY failed: stat /var/lib/docker/overlay2/70957f5ab9ea459891b29c055b136debd38faae5785d834d7be250af2ba8e65d/merged/g o/src/github.com/coredns/coredns/coredns: no such file or directory
arm64v8/golang だと問題なくbuildは出来る
arm64v8/golang:alpine を使用すると、go buildに失敗する。
arm64v8/golang だと問題なくbuildは出来る