Skip to content

Commit ac4d3ef

Browse files
authored
Merge pull request #29 from thecodingmachine/fix/node-install-deprecation
Fix/node install deprecation
2 parents 82bae2c + 39ef7b7 commit ac4d3ef

21 files changed

+106
-32
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# IntelliJ project files
2+
.idea
3+
*.iml
4+
out
5+
gen

Dockerfile.14-apache-bullseye

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"

Dockerfile.14-apache-bullseye-build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"

Dockerfile.14-bullseye

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"

Dockerfile.14-bullseye-build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"

Dockerfile.16-apache-bullseye

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"
@@ -119,7 +120,9 @@ RUN a2enmod rewrite
119120

120121
RUN apt-get update &&\
121122
apt-get install -y --no-install-recommends gnupg &&\
122-
curl -sL https://deb.nodesource.com/setup_16.x | bash - &&\
123+
mkdir -p /etc/apt/keyrings && \
124+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
125+
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 &&\
123126
apt-get update &&\
124127
apt-get install -y --no-install-recommends nodejs
125128

Dockerfile.16-apache-bullseye-build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"
@@ -119,7 +120,9 @@ RUN a2enmod rewrite
119120

120121
RUN apt-get update &&\
121122
apt-get install -y --no-install-recommends gnupg &&\
122-
curl -sL https://deb.nodesource.com/setup_16.x | bash - &&\
123+
mkdir -p /etc/apt/keyrings && \
124+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
125+
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 &&\
123126
apt-get update &&\
124127
apt-get install -y --no-install-recommends nodejs
125128

Dockerfile.16-bullseye

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"
@@ -49,7 +50,9 @@ RUN SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.
4950

5051
RUN apt-get update &&\
5152
apt-get install -y --no-install-recommends gnupg &&\
52-
curl -sL https://deb.nodesource.com/setup_16.x | bash - &&\
53+
mkdir -p /etc/apt/keyrings && \
54+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
55+
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 &&\
5356
apt-get update &&\
5457
apt-get install -y --no-install-recommends nodejs
5558

Dockerfile.16-bullseye-build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"
@@ -49,7 +50,9 @@ RUN SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.
4950

5051
RUN apt-get update &&\
5152
apt-get install -y --no-install-recommends gnupg &&\
52-
curl -sL https://deb.nodesource.com/setup_16.x | bash - &&\
53+
mkdir -p /etc/apt/keyrings && \
54+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
55+
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 &&\
5356
apt-get update &&\
5457
apt-get install -y --no-install-recommends nodejs
5558

Dockerfile.18-apache-bullseye

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
12
FROM debian:bullseye-slim
23

34
LABEL authors="Julien Neuhart <[email protected]>, David Négrier <[email protected]>"
@@ -119,7 +120,9 @@ RUN a2enmod rewrite
119120

120121
RUN apt-get update &&\
121122
apt-get install -y --no-install-recommends gnupg &&\
122-
curl -sL https://deb.nodesource.com/setup_18.x | bash - &&\
123+
mkdir -p /etc/apt/keyrings && \
124+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
125+
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 &&\
123126
apt-get update &&\
124127
apt-get install -y --no-install-recommends nodejs
125128

0 commit comments

Comments
 (0)