Skip to content

Commit f69faa7

Browse files
dannafjfaltermeier
authored andcommitted
Updated docker base image to node:18-bullseye in browser.Dockerfile
Resolves #345 `node:16-bullseye` seems outdated and resulted in the bug documented in the above issue. It is not currently supported on the official list of node docker images: https://hub.docker.com/_/node The issue at #345 was resolved even by changing to `node:18-bullseye` only in the `build-stage`, but presumably it should be already upgraded also in the `production-stage`, so this commit/PR also updates the production stage based image.
1 parent a760fdb commit f69faa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

browser.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder stage
2-
FROM node:16-bullseye as build-stage
2+
FROM node:18-bullseye as build-stage
33

44
# install required tools to build the application
55
RUN apt-get update && apt-get install -y libxkbfile-dev libsecret-1-dev
@@ -26,7 +26,7 @@ RUN yarn --pure-lockfile && \
2626
rm -r .git applications/electron theia-extensions/launcher theia-extensions/updater node_modules
2727

2828
# Production stage uses a small base image
29-
FROM node:16-bullseye-slim as production-stage
29+
FROM node:18-bullseye-slim as production-stage
3030

3131
# Create theia user and directories
3232
# Application will be copied to /home/theia

0 commit comments

Comments
 (0)