Skip to content

Commit

Permalink
Merge pull request #40 from kube-logging/update-deps-alpine
Browse files Browse the repository at this point in the history
chore(deps): update golang / alpine
  • Loading branch information
OverOrion authored Jul 9, 2024
2 parents c960833 + 86462ec commit a0e2409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the runner binary
FROM golang:1.21 as builder
FROM golang:1.22 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GO111MODULE=on go build -a -o runner main.go

# Use distroless as minimal base image to package the runner binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM alpine:latest
FROM alpine:3.20.1@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
RUN apk add socat
WORKDIR /
COPY --from=builder /workspace/runner .
Expand Down

0 comments on commit a0e2409

Please sign in to comment.