Skip to content

Commit

Permalink
build(docker): remove unused args
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Jan 2, 2024
1 parent f4cdcef commit 5aff933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:22.04 AS build

ARG GO_VERSION TARGETOS TARGETARCH
ARG GO_VERSION

ENV GO_VERSION=${GO_VERSION}
ENV GOPATH /go
Expand Down Expand Up @@ -42,7 +42,7 @@ RUN go mod download

COPY . .

RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags='-s -w' -trimpath -o /app/morphos .
RUN go build -o /app/morphos .

FROM ubuntu:22.04

Expand Down

0 comments on commit 5aff933

Please sign in to comment.