Skip to content

Commit

Permalink
fix(ci): import GPG key from NodeSource
Browse files Browse the repository at this point in the history
  • Loading branch information
hainenber committed Oct 7, 2023
1 parent 947edfa commit 96af541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ FROM rfratto/viceroy:v0.4.0
# Source: https://github.com/nodesource/distributions#installation-instructions
RUN <<EOF
apt-get update && apt-get install -qy ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings
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_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list

apt-get update && apt-get install -qy nodejs
Expand Down

0 comments on commit 96af541

Please sign in to comment.