Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Callum Styan <[email protected]>
  • Loading branch information
cstyan committed Apr 3, 2024
1 parent 4213a7a commit 6b884c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/lambda-promtail/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.9-alpine AS build-image
FROM golang:1.22.2-alpine AS build-image

COPY . /src/lambda-promtail
WORKDIR /src/lambda-promtail
Expand All @@ -10,8 +10,8 @@ RUN apk update && apk upgrade && \
RUN go version

RUN go mod download
RUN ls -al
RUN go build -o /main -tags lambda.norpc -ldflags="-s -w" lambda-promtail/*.go
# RUN ls -al
# copy artifacts to a clean image
FROM public.ecr.aws/lambda/provided:al2
COPY --from=build-image /main /main
Expand Down

0 comments on commit 6b884c6

Please sign in to comment.