#0000 - fix var issues
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
566693b559
commit
4f5ea62d1f
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@ LABEL maintainer="guillaume@van-hemmen.com"
|
|||
ARG ARG_TZ="Europe/Paris"
|
||||
ARG ARG_NODE_MAJOR=18
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$CI_TZ /etc/localtime && echo $CI_TZ > /etc/timezone && \
|
||||
RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone && \
|
||||
apt-get update && apt-get install -y ca-certificates curl gnupg && \
|
||||
mkdir -p /etc/apt/keyrings && \
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${CI_NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${ARG_NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||
apt-get update && apt-get install -y nodejs sudo && \
|
||||
apt-get install -y \
|
||||
ca-certificates \
|
||||
|
|
Loading…
Reference in a new issue