Skip to content

Commit

Permalink
chore: CRW-3531 update to golang-1.18/ node 16 (because 1.15 and 10.…
Browse files Browse the repository at this point in the history
…16 are old news) (#230)

* chore: CRW-3531 update to golang-1.18/ node 18 (because 1.15 and 10.16 are old news)

Change-Id: I671170eaac5bb15d76d0543f295f186b1caaac32
Signed-off-by: Nick Boldt <nboldt@redhat.com>

* could not compile with node:18-alpine, so for now stick with node:16-alpine

Change-Id: Ie33cf70926af95246d448f833316bdd1b169d642
Signed-off-by: Nick Boldt <nboldt@redhat.com>

Signed-off-by: Nick Boldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Nov 22, 2022
1 parent 0efe268 commit 675b2e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012-2021 Red Hat, Inc.
# Copyright (c) 2012-2022 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand All @@ -12,7 +12,7 @@
# Dockerfile defines che-machine-exec production image eclipse/che-machine-exec-dev
#

FROM golang:1.15.0-alpine as go_builder
FROM docker.io/golang:1.18-alpine as go_builder

ENV USER=machine-exec
ENV UID=12345
Expand All @@ -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:10.16-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 && \
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/rhel.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2021 Red Hat, Inc.
# Copyright (c) 2019-2022 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand Down

0 comments on commit 675b2e5

Please sign in to comment.