Skip to content

Commit

Permalink
Merge pull request #5446 from avalonmediasystem/cjcolvar-patch-3
Browse files Browse the repository at this point in the history
Fix node install in Docker build
  • Loading branch information
cjcolvar authored Nov 1, 2023
2 parents c7dc42b + 0ce9687 commit 73f0bc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ LABEL project=avalon
RUN echo "deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free" > /etc/apt/sources.list.d/bullseye.list \
&& echo "deb-src http://ftp.us.debian.org/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list.d/bullseye.list \
&& cat /etc/apt/sources.list.d/bullseye.list \
&& apt-get update && apt-get install -y --no-install-recommends curl gnupg2 ffmpeg \
&& curl -sL http://deb.nodesource.com/setup_20.x | bash - \
&& mkdir -p /etc/apt/keyrings \
&& apt-get update && apt-get install -y --no-install-recommends curl ca-certificates gnupg2 ffmpeg \
&& 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_20.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& cat /etc/apt/sources.list.d/nodesource.list \
Expand Down

0 comments on commit 73f0bc9

Please sign in to comment.