mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
fix(Docker): Updating to Ubuntu 24 & node.js v22
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#IMAGE BUILD COMMANDS
|
#IMAGE BUILD COMMANDS
|
||||||
# ct-base-ubuntu = ubuntu 18.04 + nodejs v10 LTS
|
# ct-base-ubuntu = ubuntu 18.04 + nodejs v10 LTS
|
||||||
#FROM christroutner/ct-base-ubuntu
|
#FROM christroutner/ct-base-ubuntu
|
||||||
FROM ubuntu:20.04
|
FROM ubuntu:24.04
|
||||||
MAINTAINER Chris Troutner <chris.troutner@gmail.com>
|
MAINTAINER Chris Troutner <chris.troutner@gmail.com>
|
||||||
|
|
||||||
#Update the OS and install any OS packages needed.
|
#Update the OS and install any OS packages needed.
|
||||||
@@ -15,7 +15,7 @@ RUN apt-get install -y sudo git curl nano gnupg wget
|
|||||||
RUN sudo apt-get install -y ca-certificates curl gnupg
|
RUN sudo apt-get install -y ca-certificates curl gnupg
|
||||||
RUN sudo mkdir -p /etc/apt/keyrings
|
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 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_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
RUN sudo apt-get update
|
RUN sudo apt-get update
|
||||||
RUN sudo apt-get install -y nodejs build-essential
|
RUN sudo apt-get install -y nodejs build-essential
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user