Skip to content

Commit

Permalink
update apt repo for nodesource node_18 (#331)
Browse files Browse the repository at this point in the history
### What
update apt repo for nodesource node_18

### Why
it changed

### Testing
simple change has already been deployed to stellar-design-system

### Issue addressed by this PR
stellar/ops#2626
  • Loading branch information
mwtzzz authored Nov 20, 2023
1 parent 539f3db commit c1acce5
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 @@ -7,8 +7,8 @@ WORKDIR /app/src

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
gpg curl ca-certificates git apt-transport-https && \
curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource.gpg && \
echo "deb https://deb.nodesource.com/node_16.x focal main" | tee /etc/apt/sources.list.d/nodesource.list && \
curl -sSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource-key.gpg && \
echo "deb https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |gpg --dearmor >/etc/apt/trusted.gpg.d/yarnpkg.gpg && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs yarn && \
Expand Down

0 comments on commit c1acce5

Please sign in to comment.