fix(seacogs): docker image should build now
Some checks failed
Docker Build / Build (push) Failing after 5s

This commit is contained in:
Seaswimmer 2024-01-07 06:34:13 -05:00
parent bc6b913597
commit 4f0f0955d9
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -14,10 +14,12 @@ RUN apt-get install -y \
# Install Nodejs
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash -
RUN export NVM_DIR="$HOME/.nvm"
RUN nvm install 12.16.1
RUN nvm use 12.16.1
RUN apt-get install -y ca-certificates curl gnupg \
mkdir -p /etc/apt/keyrings \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN export NODE_MAJOR=12
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list > /dev/null
RUN apt-get update && apt-get install -y nodejs
# Set up deadsnakes PPA