From 3e44bf41c713a0b101ca2fba6bace7b2d9cbb86f Mon Sep 17 00:00:00 2001 From: positiveblue Date: Wed, 4 Jan 2023 07:33:30 -0800 Subject: [PATCH] build: bump go to v1.19.4 --- .github/workflows/main.yml | 2 +- Dockerfile | 2 +- gen/Dockerfile | 2 +- poolrpc/Dockerfile | 2 +- tools/Dockerfile | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e2765c6a..3fc756535 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ env: # If you change this value, please change it in the following files as well: # /.travis.yml # /Dockerfile - GO_VERSION: 1.18.5 + GO_VERSION: 1.19.4 jobs: ######################## diff --git a/Dockerfile b/Dockerfile index dd398d1c9..18b185c65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.18.5-alpine as builder +FROM --platform=${BUILDPLATFORM} golang:1.19.4-alpine as builder # Force Go to use the cgo based DNS resolver. This is required to ensure DNS # queries required to connect to linked containers succeed. diff --git a/gen/Dockerfile b/gen/Dockerfile index c9ee83969..e43de97eb 100644 --- a/gen/Dockerfile +++ b/gen/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.5-bullseye +FROM golang:1.19.4-bullseye RUN go install github.com/golang/mock/mockgen@73266f9366fcf2ccef0b880618e5a9266e4136f4 diff --git a/poolrpc/Dockerfile b/poolrpc/Dockerfile index 5a5b0e40e..7ae03d496 100644 --- a/poolrpc/Dockerfile +++ b/poolrpc/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.5-buster +FROM golang:1.19.4-buster RUN apt-get update && apt-get install -y \ git \ diff --git a/tools/Dockerfile b/tools/Dockerfile index 6f1f47049..5a2eab524 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.5-buster +FROM golang:1.19.4-buster RUN apt-get update && apt-get install -y git ENV GOCACHE=/tmp/build/.cache @@ -13,4 +13,4 @@ RUN cd /tmp \ && go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \ && chmod -R 777 /tmp/build/ -WORKDIR /build \ No newline at end of file +WORKDIR /build