From b485c905d49bb94966a1ebfe58ff158601235112 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 4 Nov 2021 08:57:24 -0700 Subject: [PATCH] docker image: build with arm also fix https://github.com/chrislusf/seaweedfs/issues/2418 --- docker/Dockerfile.go_build | 2 +- docker/Dockerfile.go_build_large | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 3a62cf5a3..6354fc536 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -1,4 +1,4 @@ -FROM amd64/golang:1.17-alpine as builder +FROM golang:1.17-alpine as builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/chrislusf/ RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs diff --git a/docker/Dockerfile.go_build_large b/docker/Dockerfile.go_build_large index b0433257c..b5791bf9f 100644 --- a/docker/Dockerfile.go_build_large +++ b/docker/Dockerfile.go_build_large @@ -1,4 +1,4 @@ -FROM amd64/golang:1.17-alpine as builder +FROM golang:1.17-alpine as builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/chrislusf/ RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs