Skip to content

Commit

Permalink
chore: fix dockerfile casing again
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Jan 29, 2025
1 parent 602aedd commit 66edbb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.23-alpine3.19 as builder
FROM golang:1.23-alpine3.19 AS builder

COPY . /go/src/github.com/uselagoon/lagoon/services/insights-handler/
WORKDIR /go/src/github.com/uselagoon/lagoon/services/insights-handler/
Expand All @@ -15,7 +15,7 @@ COPY main.go main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -a -o insights-handler main.go

# we pull the trivy binary from aquasec's alpine based image
FROM aquasec/trivy:0.54.1 as trivy
FROM aquasec/trivy:0.54.1 AS trivy

# Use distroless as minimal base image to package the insights-handler binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Expand All @@ -31,4 +31,4 @@ COPY --from=builder /go/src/github.com/uselagoon/lagoon/services/insights-handle
COPY default_filter_transformers.yaml /default_filter_transformers.yaml
USER 65532:65532

ENTRYPOINT ["/insights-handler"]
ENTRYPOINT ["/insights-handler"]

0 comments on commit 66edbb7

Please sign in to comment.