From 6c654d61b27dbe4c56f86b6346430c293747b6b9 Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Tue, 2 Jul 2024 16:05:25 -0500 Subject: [PATCH] Specify Go 1.21 in go.mod and Dockerfile Signed-off-by: Dean Roehrich --- Dockerfile | 22 ++++++++++++++++++++-- go.mod | 2 +- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b4b87c..c156417 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,23 @@ +# +# Copyright 2021-2024 Hewlett Packard Enterprise Development LP +# Other additional copyright holders may be indicated within. +# +# The entirety of this work is licensed under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Builder stage for compiling go source code -FROM golang:1.19 as builder +FROM golang:1.21 as builder WORKDIR /workspace @@ -31,4 +49,4 @@ COPY --from=builder /workspace/lustre-csi-driver . # See mount.lustre description in sbin/README.md COPY sbin/mount.lustre-cray /sbin/mount.lustre -ENTRYPOINT ["/lustre-csi-driver"] \ No newline at end of file +ENTRYPOINT ["/lustre-csi-driver"] diff --git a/go.mod b/go.mod index c4e7a3e..1b176ca 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/HewlettPackard/lustre-csi-driver -go 1.19 +go 1.21 require ( github.com/container-storage-interface/spec v1.5.0