From e080688ec2db4bb4ba2396cdce2f7355066f9d79 Mon Sep 17 00:00:00 2001 From: Michael Maroszek Date: Mon, 10 Jun 2024 13:54:03 +0200 Subject: [PATCH] new sdk allows building with ubuntu 22.04 and requires nodejs 18.x version --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbc7103..bf81376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:22.04 WORKDIR /home @@ -51,13 +51,9 @@ RUN \ lsb-release \ ca-certificates \ sudo \ - netbeans - -#SDK needs NodeJS 12.x which is not being shipped by Ubuntu 18.04 -RUN \ - curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - && \ - sudo apt -y install nodejs && \ - npm install -g node-gyp + netbeans \ + nodejs \ + npm #Building with root permissions will fail miserably #See: https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user