mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
* Update go to 1.19.4 * Comment out failing package test * Comment out ALL the packaging tests for windows for the moment * Update go to 1.19.4 * Comment out failing package test * Comment out ALL the packaging tests for windows for the moment * Update changelog * Bump versions * Update changelog to reflect this being a security release
11 lines
395 B
Docker
11 lines
395 B
Docker
FROM golang:1.19.4-alpine AS builder
|
|
WORKDIR /build
|
|
COPY . .
|
|
RUN go get -d -v
|
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-extldflags '-static'"
|
|
|
|
#FROM scratch
|
|
#COPY --from=builder /build/lambda /build/terraform /
|
|
#COPY --from=builder /build/deploy_terraform /deploy_terraform
|
|
#COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
ENTRYPOINT ["/build/lambda"]
|