Skip to content

Commit ba54d12

Browse files
authored
Merge pull request #3 from vlsi/fix_env
chore: fix build failure: move go after environment vars
2 parents 43f5b01 + 0e2cda7 commit ba54d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY qubership-apihub-service qubership-apihub-service
1010

1111
WORKDIR /workspace/qubership-apihub-service
1212

13-
RUN set GOSUMDB=off && set CGO_ENABLED=0 && go mod tidy && go mod download && go GOOS=${TARGETOS} GOARCH=${TARGETARCH} build .
13+
RUN set GOSUMDB=off && set CGO_ENABLED=0 && go mod tidy && go mod download && GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build .
1414

1515
FROM docker.io/golang:1.23.4-alpine3.21
1616

0 commit comments

Comments
 (0)