fix(seacogs): use node.js 18 instead of 12
Some checks failed
Docker Build / Build (push) Failing after 9s
Some checks failed
Docker Build / Build (push) Failing after 9s
This commit is contained in:
parent
270ca1c500
commit
565eafc327
1 changed files with 2 additions and 5 deletions
|
@ -14,11 +14,8 @@ RUN apt-get install -y \
|
|||
|
||||
# Install Nodejs
|
||||
|
||||
RUN apt-get install -y ca-certificates curl gnupg
|
||||
RUN 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
|
||||
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
|
||||
ENV NODE_MAJOR=20
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
|
||||
# Set up deadsnakes PPA
|
||||
|
|
Loading…
Reference in a new issue