mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-05-08 05:52:38 +00:00
Update to version 1.0.1
This commit is contained in:
@@ -11,9 +11,13 @@ RUN go mod download
|
||||
|
||||
COPY Makefile .
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
COPY main.go .
|
||||
COPY pkg ./pkg
|
||||
RUN make
|
||||
RUN env GOARCH=$(echo "$TARGETPLATFORM" | cut -f2 -d/) \
|
||||
GOARM=$(echo "$TARGETPLATFORM" | cut -f3 -d/ | cut -c2-) \
|
||||
make
|
||||
|
||||
############## Final stage ##############
|
||||
FROM alpine:latest
|
||||
|
||||
Reference in New Issue
Block a user