Skip to content

Commit

Permalink
update golang to 1.23 and fix docker warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kannon92 committed Dec 10, 2024
1 parent 4019a94 commit dcfdcfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG BASE_IMAGE
ARG BUILDER_IMAGE
ARG BUILDER_IMAGE=golang:1.23
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot
ARG CGO_ENABLED=0

# Build the manager binary
FROM ${BUILDER_IMAGE} as builder
FROM ${BUILDER_IMAGE} AS builder
ARG TARGETOS
ARG TARGETARCH
ARG CGO_ENABLED

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module sigs.k8s.io/lws

go 1.22.0
go 1.23.0

require (
github.com/google/go-cmp v0.6.0
Expand Down

0 comments on commit dcfdcfb

Please sign in to comment.