docker image: build with arm also

fix https://github.com/chrislusf/seaweedfs/issues/2418
This commit is contained in:
Chris Lu 2021-11-04 08:57:24 -07:00
parent 77f90ae288
commit b485c905d4
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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