From acf13166d8f57f95ac3720297a0329d651dd0691 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Mon, 21 Nov 2022 15:33:12 -0400 Subject: [PATCH] could not compile with node:18-alpine, so for now stick with node:16-alpine Change-Id: Ie33cf70926af95246d448f833316bdd1b169d642 Signed-off-by: Nick Boldt --- build/dockerfiles/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/dockerfiles/Dockerfile b/build/dockerfiles/Dockerfile index 6ef9fd75..559dbb1d 100644 --- a/build/dockerfiles/Dockerfile +++ b/build/dockerfiles/Dockerfile @@ -38,7 +38,8 @@ WORKDIR /che-machine-exec/ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags '-w -s' -a -installsuffix cgo -o /go/bin/che-machine-exec . -FROM docker.io/node:18-alpine as cloud_shell_builder +# NOTE: could not compile with node:18-alpine, so for now stick with node:16-alpine +FROM docker.io/node:16-alpine as cloud_shell_builder COPY --from=go_builder /che-machine-exec/cloud-shell cloud-shell-src WORKDIR cloud-shell-src RUN yarn && \