#0000 - fix var issues
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Guillaume "B.B." Van Hemmen 2023-11-04 16:44:29 +01:00
parent 566693b559
commit 4f5ea62d1f
Signed by: GuillaumeHemmen
GPG key ID: 7921E64524F7EB35

View file

@ -5,11 +5,11 @@ LABEL maintainer="guillaume@van-hemmen.com"
ARG ARG_TZ="Europe/Paris" ARG ARG_TZ="Europe/Paris"
ARG ARG_NODE_MAJOR=18 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 && \ apt-get update && apt-get install -y ca-certificates curl gnupg && \
mkdir -p /etc/apt/keyrings && \ mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ 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 update && apt-get install -y nodejs sudo && \
apt-get install -y \ apt-get install -y \
ca-certificates \ ca-certificates \