Skip to content

Commit 5ebb25f

Browse files
author
sjqzhang
committed
remove platform
1 parent eb5c732 commit 5ebb25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DockerfileForGitAction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN set -xe; \
99
git clone https://github.com/sjqzhang/go-fastdfs ; \
1010
cd go-fastdfs; mv vendor src ; mv src .. ; cd .. ; mv go-fastdfs src/github.com/sjqzhang/ ; export GOPATH=/root/repo ; cd src/github.com/sjqzhang/go-fastdfs ; \
1111
export GO111MODULE="off"; \
12-
CGO_ENABLED=0 GOOS=linux go build GOARCH=$TARGETARCH -a -installsuffix cgo -o fileserver; \
12+
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o fileserver; \
1313
ls -lh .;
1414
FROM registry.cn-hangzhou.aliyuncs.com/prince/alpine-bash
1515

0 commit comments

Comments
 (0)