feat: upgrade to golang 1.17.9

This commit is contained in:
Jose Diaz-Gonzalez
2022-04-23 01:02:18 -04:00
parent d38a873423
commit 92d5bd8584
22 changed files with 24 additions and 24 deletions

View File

@@ -7,8 +7,8 @@ RUN apt-get install --no-install-recommends -y build-essential file nano && \
apt-get autoremove --yes && \
rm -rf /var/lib/apt/lists/*
RUN wget https://dl.google.com/go/go1.16.10.linux-amd64.tar.gz && \
tar -xvf go1.16.10.linux-amd64.tar.gz && \
RUN wget https://dl.google.com/go/go1.17.9.linux-amd64.tar.gz && \
tar -xvf go1.17.9.linux-amd64.tar.gz && \
mv go /usr/local
RUN GOROOT=/usr/local/go /usr/local/go/bin/go install golang.org/x/tools/gopls@latest 2>&1

View File

@@ -1,7 +1,7 @@
GO_ARGS ?=
GO_PLUGIN_MAKE_TARGET ?= build
GO_REPO_ROOT := /go/src/github.com/dokku/dokku
BUILD_IMAGE := golang:1.16.10
BUILD_IMAGE := golang:1.17.9
GO_BUILD_CACHE ?= /tmp/dokku-go-build-cache
GO_MOD_CACHE ?= /tmp/dokku-go-mod-mod
GO_ROOT_MOUNT ?= $$PWD/../..:$(GO_REPO_ROOT)

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/app-json
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/apps
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/builder
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/buildpacks
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/common
go 1.16
go 1.17
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/config
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/cron
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/app-json v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/docker-options
go 1.16
go 1.17
require github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/logs
go 1.16
go 1.17
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/network
go 1.16
go 1.17
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27

View File

@@ -1,3 +1,3 @@
module github.com/dokku/dokku/plugins/nginx-vhosts
go 1.16
go 1.17

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/proxy
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/ps
go 1.16
go 1.17
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/registry
go 1.16
go 1.17
require (
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/repo
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/resource
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,6 +1,6 @@
module github.com/dokku/dokku/plugins/scheduler
go 1.16
go 1.17
require (
github.com/dokku/dokku/plugins/common v0.0.0-00010101000000-000000000000

View File

@@ -1,4 +1,4 @@
module dokku.me/web
// +heroku goVersion go1.16
go 1.16
// +heroku goVersion go1.17
go 1.17

View File

@@ -1,3 +1,3 @@
module dokku.me/web
go 1.16
go 1.17

View File

@@ -1,3 +1,3 @@
module dokku.me/web
go 1.16
go 1.17