Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Try to build again
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed May 8, 2024
1 parent f3e0302 commit dac2c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM golang:1.22.2-alpine3.19 as build

WORKDIR /app
COPY . .
RUN go build . -o delete-from-enterprise
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o delete-from-enterprise .

FROM alpine:3.19.1
COPY --from=build /app/delete-from-enterprise /app/
Expand Down

0 comments on commit dac2c9c

Please sign in to comment.