Skip to content

Update go version and base image url in Dockerfile.debug and windows #1205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.Windows
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

ARG BASE_IMAGE
FROM --platform=$BUILDPLATFORM golang:1.19.6 AS builder
FROM --platform=$BUILDPLATFORM golang:1.20.3 AS builder

ARG TARGETPLATFORM
ARG BUILDPLATFORM
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19.6 as builder
FROM golang:1.20.3 as builder
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
ADD . .

Expand All @@ -24,11 +24,11 @@ RUN CGO_ENABLED=0 go install -ldflags "-s -w -extldflags '-static'" github.com/g
RUN GOARCH="$(echo $TARGETPLATFORM | cut -f2 -d '/')" GCE_PD_CSI_STAGING_VERSION=$STAGINGVERSION GCE_PD_CSI_DEBUG=1 make gce-pd-driver

# MAD HACKS: Build a version first so we can take the scsi_id bin and put it somewhere else in our real build
FROM registry.k8s.io/build-image/debian-base-amd64:buster-v1.5.0 as mad-hack
FROM gke.gcr.io/debian-base:bullseye-v1.4.3-gke.0 as mad-hack
RUN clean-install udev

# Start from Kubernetes Debian base
FROM registry.k8s.io/build-image/debian-base-amd64:buster-v1.5.0
FROM gke.gcr.io/debian-base:bullseye-v1.4.3-gke.0

# Copy source code too to correlate the binary and the breakpoints
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
Expand Down