Browse Source

docker image: build with arm also

fix https://github.com/chrislusf/seaweedfs/issues/2418
pull/2427/head
Chris Lu 3 years ago
parent
commit
b485c905d4
  1. 2
      docker/Dockerfile.go_build
  2. 2
      docker/Dockerfile.go_build_large

2
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

2
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

Loading…
Cancel
Save