summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-03-16 16:51:28 +0100
committerValery Piashchynski <[email protected]>2022-03-16 16:51:28 +0100
commit1af3f0d552fd31bd6c6416d250a299685a0ae304 (patch)
tree4bc93df419236c44a15357bb33403d9be8d2a3d3
parent648c8c4eb3e3af729dc7b5fc15e9d5456f0d0a20 (diff)
docker: use go 1.18
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--Dockerfile2
-rw-r--r--go.sum1
2 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e724de8f..f2e56ccc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# Image page: <https://hub.docker.com/_/golang>
-FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:alpine as builder
+FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.18-alpine as builder
# app version and build date must be passed during image building (version without any prefix).
# e.g.: `docker build --build-arg "APP_VERSION=1.2.3" --build-arg "BUILD_TIME=$(date +%FT%T%z)" .`
diff --git a/go.sum b/go.sum
index d4f85c97..2d530c2d 100644
--- a/go.sum
+++ b/go.sum
@@ -95,6 +95,7 @@ github.com/caddyserver/certmagic v0.15.4/go.mod h1:qhkAOthf72ufAcp3Y5jF2RaGE96oi
github.com/cenkalti/backoff/v4 v4.1.2 h1:6Yo7N8UP2K6LWZnW94DLVSSrbobcWdVzAYOisuDPIFo=
github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=