mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 14:34:45 +08:00
docker image: build with arm also
fix https://github.com/chrislusf/seaweedfs/issues/2418
This commit is contained in:
@@ -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 apk add git g++ fuse
|
||||||
RUN mkdir -p /go/src/github.com/chrislusf/
|
RUN mkdir -p /go/src/github.com/chrislusf/
|
||||||
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs
|
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs
|
||||||
|
|||||||
@@ -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 apk add git g++ fuse
|
||||||
RUN mkdir -p /go/src/github.com/chrislusf/
|
RUN mkdir -p /go/src/github.com/chrislusf/
|
||||||
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs
|
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs
|
||||||
|
|||||||
Reference in New Issue
Block a user