fix(seacogs): use env instead of run to set env vars
Some checks failed
Docker Build / Build (push) Failing after 7s
Some checks failed
Docker Build / Build (push) Failing after 7s
This commit is contained in:
parent
9b6d1b95d2
commit
270ca1c500
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ RUN apt-get install -y \
|
||||||
RUN apt-get install -y ca-certificates curl gnupg
|
RUN apt-get install -y ca-certificates curl gnupg
|
||||||
RUN mkdir -p /etc/apt/keyrings
|
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
|
RUN 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
|
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 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue