summaryrefslogtreecommitdiff
path: root/Dockerfile
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 /Dockerfile
parent648c8c4eb3e3af729dc7b5fc15e9d5456f0d0a20 (diff)
docker: use go 1.18
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 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)" .`