File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ ca-certificates
32
32
# Install Some PPAs
33
33
apt-add-repository ppa:ondrej/php -y
34
34
35
- # NodeJS
35
+ # Prepare keyrings directory
36
36
sudo mkdir -p /etc/apt/keyrings
37
+
38
+ # NodeJS
37
39
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
38
40
echo " deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
39
41
40
42
# PostgreSQL
41
- sudo sh -c ' echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
42
- # Import the repository signing key:
43
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8
44
- wget -qO- https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/trusted.gpg.d/pgdg.asc & > /dev/null
43
+ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/keyrings/postgresql.gpg
44
+ sudo sh -c ' echo "deb [signed-by=/etc/apt/keyrings/postgresql.gpg] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
45
45
46
46
# # Update Package Lists
47
47
apt-get update -y
Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ ca-certificates
32
32
# Install Some PPAs
33
33
apt-add-repository ppa:ondrej/php -y
34
34
35
- # NodeJS
35
+ # Prepare keyrings directory
36
36
sudo mkdir -p /etc/apt/keyrings
37
+
38
+ # NodeJS
37
39
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
38
40
echo " deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
39
41
40
42
# PostgreSQL
41
- sudo sh -c ' echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
42
- # Import the repository signing key:
43
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8
44
- wget -qO- https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/trusted.gpg.d/pgdg.asc & > /dev/null
43
+ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/keyrings/postgresql.gpg
44
+ sudo sh -c ' echo "deb [signed-by=/etc/apt/keyrings/postgresql.gpg] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
45
45
46
46
# # Update Package Lists
47
47
apt-get update -y
You can’t perform that action at this time.
0 commit comments