From f2e936e0f9bc4f9483a8f0892b0bf2ce5f4bd895 Mon Sep 17 00:00:00 2001 From: Bob Kerns <1154903+BobKerns@users.noreply.github.com> Date: Fri, 14 Apr 2023 10:56:36 -0700 Subject: [PATCH] Move to go 1.20 At least 1.18 is required to build the current source, to support the file embeding. 1.16 is the earliest with the feature, but the all:mgmt pattern doesn't work until 1.18. --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b369cf0..b95d69d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM golang:1.14.7 -MAINTAINER GitHub, Inc. +FROM golang:1.20 +LABEL org.opencontainers.image.authors=" GitHub, Inc." WORKDIR /go/src/github.com/git-lfs/lfs-test-server diff --git a/go.mod b/go.mod index fe3ae0a..822d3ed 100644 --- a/go.mod +++ b/go.mod @@ -6,4 +6,4 @@ require ( github.com/gorilla/mux v0.0.0-20140926153814-e444e69cbd2e ) -go 1.16 +go 1.20