From 46088bfa6b8158b63bbcba9aeaa8778f71a22386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Mon, 13 Mar 2023 14:33:41 +0100 Subject: [PATCH 1/2] feat: update Go from 1.17 to 1.20 --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9217acda..0ea3f8df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 +FROM golang:1.20 MAINTAINER Étienne Michon "etienne@scalingo.com" RUN go get github.com/cespare/reflex diff --git a/go.mod b/go.mod index dc5ad070..3387ff4f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Scalingo/go-scalingo/v6 -go 1.17 +go 1.20 require ( github.com/golang-jwt/jwt/v4 v4.5.0 From 7a5ae1501f07834592c7f3a393a9e62fae5aa384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Mon, 13 Mar 2023 14:34:56 +0100 Subject: [PATCH 2/2] build(dev): 'go install' reflex --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0ea3f8df..f2592ba6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.20 MAINTAINER Étienne Michon "etienne@scalingo.com" -RUN go get github.com/cespare/reflex +RUN go install github.com/cespare/reflex@latest WORKDIR $GOPATH/src/github.com/Scalingo/go-scalingo