fix(seacogs): use node.js 18 instead of 12
Some checks failed
Docker Build / Build (push) Failing after 9s

This commit is contained in:
Seaswimmer 2024-01-07 06:45:04 -05:00
parent 270ca1c500
commit 565eafc327
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -14,11 +14,8 @@ RUN apt-get install -y \
# Install Nodejs # Install Nodejs
RUN apt-get install -y ca-certificates curl gnupg ENV NODE_MAJOR=20
RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
ENV 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 RUN apt-get update && apt-get install -y nodejs
# Set up deadsnakes PPA # Set up deadsnakes PPA