From 2a14fe3f6b50a8ae268f484f477ef0714c3ec456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 26 Oct 2022 15:31:14 +0200 Subject: [PATCH] Dockerfile: update to GO 1.18, update Alpine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise we get build errors like: ``` note: module requires Go 1.18 ``` https://ci.infra.status.im/job/go-waku/job/deploy-test/28/ Signed-off-by: Jakub SokoĊ‚owski --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c75da6f..373f01b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # BUILD IMAGE -------------------------------------------------------- -FROM golang:1.17-alpine as builder +FROM golang:1.18-alpine3.16 as builder # Get build tools and required header files RUN apk add --no-cache build-base @@ -14,7 +14,7 @@ RUN make -j$(nproc) build # ACTUAL IMAGE ------------------------------------------------------- -FROM alpine:3.12 +FROM alpine:3.16 ARG GIT_COMMIT=unknown