Fixed nodejs installation
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 35s
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 35s
This commit is contained in:
parent
2908bc5ebf
commit
b225c58dfd
13
dockerfile
13
dockerfile
@ -29,8 +29,17 @@ RUN python3.10 -m pip install cpl-cli --extra-index-url https://pip.sh-edraft.de
|
|||||||
RUN python3.10 -m pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
RUN python3.10 -m pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
||||||
|
|
||||||
# install node
|
# install node
|
||||||
RUN sud curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
RUN sudo apt update
|
||||||
RUN sudo apt -y install nodejs
|
RUN sudo apt install -y ca-certificates curl gnupg
|
||||||
|
RUN sudo mkdir -p /etc/apt/keyrings
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
|
|
||||||
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
|
RUN sudo apt update
|
||||||
|
RUN sudo apt install nodejs -y
|
||||||
|
|
||||||
|
|
||||||
RUN sudo apt -y install npm
|
RUN sudo apt -y install npm
|
||||||
RUN sudo npm install -g @angular/cli
|
RUN sudo npm install -g @angular/cli
|
||||||
RUN sudo npm install -g ts-node
|
RUN sudo npm install -g ts-node
|
||||||
|
Loading…
Reference in New Issue
Block a user