mirror of https://github.com/status-im/go-waku.git
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:
parent
77e23638de
commit
2a14fe3f6b
|
@ -1,5 +1,5 @@
|
||||||
# BUILD IMAGE --------------------------------------------------------
|
# BUILD IMAGE --------------------------------------------------------
|
||||||
FROM golang:1.17-alpine as builder
|
FROM golang:1.18-alpine3.16 as builder
|
||||||
|
|
||||||
# Get build tools and required header files
|
# Get build tools and required header files
|
||||||
RUN apk add --no-cache build-base
|
RUN apk add --no-cache build-base
|
||||||
|
@ -14,7 +14,7 @@ RUN make -j$(nproc) build
|
||||||
|
|
||||||
# ACTUAL IMAGE -------------------------------------------------------
|
# ACTUAL IMAGE -------------------------------------------------------
|
||||||
|
|
||||||
FROM alpine:3.12
|
FROM alpine:3.16
|
||||||
|
|
||||||
ARG GIT_COMMIT=unknown
|
ARG GIT_COMMIT=unknown
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue