Skip to content

Commit

Permalink
new sdk allows building with ubuntu 22.04
Browse files Browse the repository at this point in the history
and requires nodejs 18.x version
  • Loading branch information
paresy authored Jun 10, 2024
1 parent 6d5ee72 commit e080688
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

WORKDIR /home

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e080688

Please sign in to comment.