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.
This commit is contained in:
parent
66959da23e
commit
4814ef033b
12
Dockerfile
12
Dockerfile
@ -1,18 +1,26 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update && apt install -y \
|
RUN apt update && apt upgrade -y
|
||||||
|
RUN apt install -y \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
|
make \
|
||||||
|
g++ \
|
||||||
gzip \
|
gzip \
|
||||||
unzip \
|
unzip \
|
||||||
git \
|
git \
|
||||||
npm \
|
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-venv \
|
||||||
cargo \
|
cargo \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
fd-find
|
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
|
# Installation Settings
|
||||||
# branch can be nightly
|
# branch can be nightly
|
||||||
ENV BRANCH=stable
|
ENV BRANCH=stable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user