Skip to content

Commit 814e0d8

Browse files
authored
Merge pull request #301 from damacus/base-image
Update container version
2 parents 3740e01 + ed64e85 commit 814e0d8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 The Kubernetes Authors.
1+
# Copyright 2023 The Kubernetes Authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

Dockerfile.multiarch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.18 as build-env
1+
FROM --platform=$BUILDPLATFORM golang:1.19 as build-env
22

33
# xx wraps go to automatically configure $GOOS, $GOARCH, and $GOARM
44
# based on TARGETPLATFORM provided by Docker.
@@ -13,7 +13,7 @@ WORKDIR ${APP_FOLDER}
1313
ARG TARGETPLATFORM
1414
RUN CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o /bin/main ./cmd/nfs-subdir-external-provisioner
1515

16-
FROM --platform=$TARGETPLATFORM alpine:3.12
16+
FROM --platform=$TARGETPLATFORM alpine:3.18
1717

1818
RUN apk update --no-cache && apk add ca-certificates
1919
COPY --from=build-env /bin/main /app/main

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kubernetes-sigs/nfs-subdir-external-provisioner
22

3-
go 1.17
3+
go 1.19
44

55
require (
66
github.com/golang/glog v1.0.0

0 commit comments

Comments
 (0)