From 67598e58c5955fd87cc8092473ef8b573cae12c7 Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Sat, 22 Feb 2020 08:42:59 -0500 Subject: [PATCH] Update projects to use Go 1.13 Fixes #1442 Signed-off-by: Thomas Schmidt --- .travis.yml | 2 +- auth/basic-auth/Dockerfile | 2 +- auth/basic-auth/Dockerfile.arm64 | 2 +- gateway/Dockerfile | 2 +- gateway/Dockerfile.arm64 | 2 +- gateway/Dockerfile.armhf | 2 +- sample-functions/BaseFunctions/golang/Dockerfile | 2 +- sample-functions/DockerHubStats/Dockerfile | 2 +- sample-functions/MarkdownRender/Dockerfile | 2 +- sample-functions/WebhookStash/Dockerfile | 2 +- watchdog/Dockerfile | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09df4162..860889c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: required language: go go: - - "1.11.x" + - "1.13.x" services: - docker diff --git a/auth/basic-auth/Dockerfile b/auth/basic-auth/Dockerfile index aec321af..34e580e6 100644 --- a/auth/basic-auth/Dockerfile +++ b/auth/basic-auth/Dockerfile @@ -1,6 +1,6 @@ FROM teamserverless/license-check:0.3.6 as license-check -FROM golang:1.12-alpine3.11 as build +FROM golang:1.13-alpine3.11 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 diff --git a/auth/basic-auth/Dockerfile.arm64 b/auth/basic-auth/Dockerfile.arm64 index cb144298..b30b2446 100644 --- a/auth/basic-auth/Dockerfile.arm64 +++ b/auth/basic-auth/Dockerfile.arm64 @@ -1,6 +1,6 @@ FROM teamserverless/license-check:0.3.6 as license-check -FROM golang:1.12-alpine3.11 as build +FROM golang:1.13-alpine3.11 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 diff --git a/gateway/Dockerfile b/gateway/Dockerfile index a1b64db9..cd3d5d34 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -1,6 +1,6 @@ FROM teamserverless/license-check:0.3.6 as license-check -FROM golang:1.12 as build +FROM golang:1.13 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 diff --git a/gateway/Dockerfile.arm64 b/gateway/Dockerfile.arm64 index ee855da2..515dbf1f 100644 --- a/gateway/Dockerfile.arm64 +++ b/gateway/Dockerfile.arm64 @@ -1,6 +1,6 @@ FROM teamserverless/license-check:0.3.6 as license-check -FROM golang:1.12 as build +FROM golang:1.13 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 diff --git a/gateway/Dockerfile.armhf b/gateway/Dockerfile.armhf index 3f2f666c..578f6ca9 100644 --- a/gateway/Dockerfile.armhf +++ b/gateway/Dockerfile.armhf @@ -1,6 +1,6 @@ FROM teamserverless/license-check:0.3.6 as license-check -FROM golang:1.12 as build +FROM golang:1.13 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 diff --git a/sample-functions/BaseFunctions/golang/Dockerfile b/sample-functions/BaseFunctions/golang/Dockerfile index 1ad3f3e7..d91ef7ae 100644 --- a/sample-functions/BaseFunctions/golang/Dockerfile +++ b/sample-functions/BaseFunctions/golang/Dockerfile @@ -1,6 +1,6 @@ FROM openfaas/classic-watchdog:0.18.8 as watchdog -FROM golang:1.11-alpine +FROM golang:1.13-alpine ENV CGO_ENABLED=0 MAINTAINER alexellis2@gmail.com diff --git a/sample-functions/DockerHubStats/Dockerfile b/sample-functions/DockerHubStats/Dockerfile index 7b3e9f17..e0caa8b9 100644 --- a/sample-functions/DockerHubStats/Dockerfile +++ b/sample-functions/DockerHubStats/Dockerfile @@ -1,6 +1,6 @@ FROM openfaas/classic-watchdog:0.18.8 as watchdog -FROM golang:1.11-alpine as builder +FROM golang:1.13-alpine as builder ENV CGO_ENABLED=0 MAINTAINER alex@openfaas.com diff --git a/sample-functions/MarkdownRender/Dockerfile b/sample-functions/MarkdownRender/Dockerfile index c5dff246..d516fb46 100644 --- a/sample-functions/MarkdownRender/Dockerfile +++ b/sample-functions/MarkdownRender/Dockerfile @@ -1,6 +1,6 @@ FROM openfaas/classic-watchdog:0.18.8 as watchdog -FROM golang:1.11-alpine as builder +FROM golang:1.13-alpine as builder ENV CGO_ENABLED=0 MAINTAINER alex@openfaas.com diff --git a/sample-functions/WebhookStash/Dockerfile b/sample-functions/WebhookStash/Dockerfile index e3d4e957..136705cc 100644 --- a/sample-functions/WebhookStash/Dockerfile +++ b/sample-functions/WebhookStash/Dockerfile @@ -1,6 +1,6 @@ FROM openfaas/classic-watchdog:0.18.8 as watchdog -FROM golang:1.11-alpine as builder +FROM golang:1.13-alpine as builder ENV CGO_ENABLED=0 MAINTAINER alex@openfaas.com diff --git a/watchdog/Dockerfile b/watchdog/Dockerfile index a464945c..c8dbebf8 100644 --- a/watchdog/Dockerfile +++ b/watchdog/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.12 as build +FROM golang:1.13 as build ENV GO111MODULE=off ENV CGO_ENABLED=0