Skip to content

Commit

Permalink
change default
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrl-alt-lulz committed Jan 30, 2024
1 parent ab49393 commit b41f955
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/microservices/load_simulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ ARG GOMODCACHE
ARG GOCACHE
ARG GOOS
ARG GOARCH

COPY . .
RUN --mount=type=cache,target=${GOMODCACHE} go mod download
# manage dependencies
COPY apps/cookbooks/microservices/load_simulator ./
COPY . .
RUN GO_ENABLED=1 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags="-s -w" -o api apps/cookbooks/microservices/load_simulator/main.go

FROM ubuntu:22.04
Expand Down

0 comments on commit b41f955

Please sign in to comment.