Dockerfile: update to GO 1.18, update Alpine

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 <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-10-26 15:31:14 +02:00
parent 77e23638de
commit 2a14fe3f6b
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
1 changed files with 2 additions and 2 deletions

View File

@ -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