mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 22:34:46 +08:00
adjust
This commit is contained in:
@@ -3,7 +3,7 @@ RUN apk add git go g++
|
|||||||
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
|
||||||
RUN cd /go/src/github.com/chrislusf/seaweedfs/weed \
|
RUN cd /go/src/github.com/chrislusf/seaweedfs/weed \
|
||||||
&& LDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \
|
&& export LDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \
|
||||||
&& go install -ldflags ${LDFLAGS}
|
&& go install -ldflags ${LDFLAGS}
|
||||||
|
|
||||||
FROM alpine AS final
|
FROM alpine AS final
|
||||||
|
|||||||
Reference in New Issue
Block a user