Skip to content

Commit

Permalink
Fix node source
Browse files Browse the repository at this point in the history
  • Loading branch information
madalinignisca committed Jan 29, 2024
1 parent 9302e88 commit 30cca8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ RUN if [ "$DISTRO" = "ubuntu" ] ; \
apt-get install -y language-pack-en ; \
fi

RUN curl -L 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key' | apt-key add - \
&& echo "deb https://deb.nodesource.com/node_${NODE_VERSION}.x ${NODE_DISTRO} main" > /etc/apt/sources.list.d/nodesource.list
RUN curl -L 'https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key' | gpg --dearmor -o /usr/share/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_VERSION}.x ${NODE_DISTRO} main" > /etc/apt/sources.list.d/nodesource.list

RUN if [ "$DISTRO" = "debian" ] ; \
then \
Expand Down

0 comments on commit 30cca8d

Please sign in to comment.