From 4814ef033baedc413796349861fcb5d438767aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuna=20Alika=C5=9Fifo=C4=9Flu?= Date: Tue, 21 Feb 2023 19:22:02 +0300 Subject: [PATCH] fix(docker) : update dependencies For further compatibility and ease of usage, additional dependencies like `g++` and `make` is included, which may be needed for certain plugins. In addition, the default node version is 12 in `ubuntu:latest`, this issue is handled by manual installation of node18. --- Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 485836b8..b61701fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,26 @@ FROM ubuntu:latest # Install dependencies -RUN apt update && apt install -y \ +RUN apt update && apt upgrade -y +RUN apt install -y \ curl \ wget \ + make \ + g++ \ gzip \ unzip \ git \ - npm \ python3 \ + python3-venv \ cargo \ ripgrep \ fd-find +RUN apt remove -y nodejs npm && \ + curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh && \ + bash nodesource_setup.sh && \ + apt install -y nodejs + # Installation Settings # branch can be nightly ENV BRANCH=stable