Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmos committed Jun 30, 2023
1 parent f8f0742 commit 789a35c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ ARG TARGETARCH
COPY . /go/src/github.com/onmomo/meteoswiss-api-client/
WORKDIR /go/src/github.com/onmomo/meteoswiss-api-client/

ARG TARGETOS
ARG TARGETARCH

RUN set -Eeux && \
go mod download && \
go mod verify \
go mod verify

RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build \
Expand Down

0 comments on commit 789a35c

Please sign in to comment.