Skip to content

Commit

Permalink
Update Go and BusyBox versions in Dockerfile (#9)
Browse files Browse the repository at this point in the history
* chore: update Go version to 1.23.3 and BusyBox to 1.37.0 in Dockerfile

Signed-off-by: Javier Lopez <[email protected]>

* chore: downgrade Go version to 1.22.9 in Dockerfile

Signed-off-by: Javier Lopez <[email protected]>

---------

Signed-off-by: Javier Lopez <[email protected]>
  • Loading branch information
jLopezbarb authored Dec 2, 2024
1 parent a3ec5e9 commit bda5bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-bookworm as builder
FROM golang:1.22.9-bookworm as builder
WORKDIR /app

COPY go.mod .
Expand All @@ -8,7 +8,7 @@ COPY . .
ARG COMMIT_SHA
RUN CGO=0 go build -o clean -ldflags "-X main.CommitString=${COMMIT_SHA}" -tags "osusergo netgo static_build" .

FROM busybox
FROM busybox:1.37.0

COPY --from=builder /app/clean /usr/local/bin/clean
RUN chmod +x /usr/local/bin/clean

0 comments on commit bda5bea

Please sign in to comment.