Skip to content

Commit

Permalink
fixed #967 - manual install of nodesource repository
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaborie committed Mar 14, 2024
1 parent 65f0056 commit 3e483f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM rust:1.72.1-bullseye AS build

ENV DEBIAN_FRONTEND noninteractive

RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key > /etc/apt/trusted.gpg.d/nodesource.asc \
&& echo "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.asc] https://deb.nodesource.com/node_16.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y ca-certificates-java nodejs openjdk-17-jdk \
&& rm -rf /var/lib/apt/lists/* \
Expand Down

0 comments on commit 3e483f6

Please sign in to comment.