node: update go to 1.19.3 and enable race detector

Change-Id: Ia1de1669560f212639c6b0e010bee34228d94d63
This commit is contained in:
Hendrik Hofstadt 2022-11-29 12:52:11 +01:00 committed by Evan Gray
parent 56645faaad
commit fa270ec467
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
FROM --platform=linux/amd64 docker.io/golang:1.17.5@sha256:90d1ab81f3d157ca649a9ff8d251691b810d95ea6023a03cdca139df58bca599 AS build
FROM --platform=linux/amd64 docker.io/golang:1.19.3@sha256:dc76ef03e54c34a00dcdca81e55c242d24b34d231637776c4bb5c1a8e8514253 AS build
# libwasmvm.so is not compatible with arm
# Support additional root CAs
@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
COPY node node
COPY sdk sdk
ARG GO_BUILD_ARGS=
ARG GO_BUILD_ARGS=-race
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
cd node && \