Skip to content

Commit

Permalink
Change docker build (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
p53 authored Feb 3, 2024
1 parent 7d8cb5d commit e392f25
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
Expand Up @@ -7,8 +7,8 @@ ARG HOMEDIR=/opt/gatekeeper
FROM --platform=$BUILDPLATFORM golang:1.21.6 AS build-env
ARG HOMEDIR
ARG TARGETOS TARGETARCH
ENV GOOS $TARGETOS
ENV GOARCH $TARGETARCH
ENV GOOS=$TARGETOS
ENV GOARCH=$TARGETARCH

ADD . /src/
WORKDIR /src/
Expand Down

0 comments on commit e392f25

Please sign in to comment.