Skip to content

Commit

Permalink
Install node from nodesource.com package
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Sep 2, 2023
1 parent 522b980 commit 1d9daad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ FROM ${BUILD_BASE_IMAGE_NAME}:${BUILD_BASE_IMAGE_TAG} AS build-os-deps
# Install Trivy
# curl -sL https://aquasecurity.github.io/trivy-repo/deb/public.key -o /etc/apt/trusted.gpg.d/trivy.asc && \
# printf "deb https://aquasecurity.github.io/trivy-repo/deb %s main" "$(lsb_release -sc)" | tee -a /etc/apt/sources.list.d/trivy.list && \
# Install node from nodesource.com package
# 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_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update -qq && \
apt-get -y install -y -qq --no-install-recommends yarn && \
# apt-get -y install -y -qq --no-install-recommends trivy && \
Expand Down

0 comments on commit 1d9daad

Please sign in to comment.