Bump go to 1.21.1

Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
This commit is contained in:
Christopher Desiniotis 2023-09-29 09:40:56 -07:00
parent 28486178b6
commit d0e627da7a
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ MODULE := gitlab.com/nvidia/cloud-native/go-nvlib
DOCKER ?= docker
GOLANG_VERSION := 1.16
GOLANG_VERSION := 1.21.1
ifeq ($(IMAGE),)
REGISTRY ?= nvidia

View File

@ -11,8 +11,8 @@
# 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.
ARG GOLANG_VERSION=1.16
ARG GOLANG_VERSION=1.21.1
FROM golang:${GOLANG_VERSION}
RUN go get -u golang.org/x/lint/golint
RUN go install golang.org/x/lint/golint@latest
RUN go install github.com/matryer/moq@v0.2.7