Skip to content

Commit 18f19e9

Browse files
committed
Install node with corepack
1 parent 47c2e8f commit 18f19e9

25 files changed

+33
-84
lines changed

Dockerfile.14-apache-bullseye

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
33
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
44
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
5+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
6+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
7+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
58
FROM debian:bullseye-slim
69

710
LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>, David Négrier <d.negrier@thecodingmachine.com>"

Dockerfile.14-apache-bullseye-build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
33
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
44
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
5+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
6+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
7+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
58
FROM debian:bullseye-slim
69

710
LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>, David Négrier <d.negrier@thecodingmachine.com>"

Dockerfile.14-bullseye

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
33
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
44
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
5+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
6+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
7+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
58
FROM debian:bullseye-slim
69

710
LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>, David Négrier <d.negrier@thecodingmachine.com>"

Dockerfile.14-bullseye-build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
33
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
44
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
5+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
6+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
7+
# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.blueprint)
58
FROM debian:bullseye-slim
69

710
LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>, David Négrier <d.negrier@thecodingmachine.com>"

Dockerfile.16-apache-bullseye

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ RUN apt-get update &&\
133133
# | Installs yarn. It provides some nice improvements over npm.
134134
# |
135135

136-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
137-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
138-
apt-get update &&\
139-
apt-get install -y --no-install-recommends yarn
136+
RUN corepack enable && corepack prepare yarn@stable --activate
140137

141138
# |--------------------------------------------------------------------------
142139
# | PATH updating

Dockerfile.16-apache-bullseye-build

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ RUN apt-get update &&\
133133
# | Installs yarn. It provides some nice improvements over npm.
134134
# |
135135

136-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
137-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
138-
apt-get update &&\
139-
apt-get install -y --no-install-recommends yarn
136+
RUN corepack enable && corepack prepare yarn@stable --activate
140137

141138
# |--------------------------------------------------------------------------
142139
# | PATH updating

Dockerfile.16-bullseye

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ RUN apt-get update &&\
6363
# | Installs yarn. It provides some nice improvements over npm.
6464
# |
6565

66-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
67-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
68-
apt-get update &&\
69-
apt-get install -y --no-install-recommends yarn
66+
RUN corepack enable && corepack prepare yarn@stable --activate
7067

7168
# |--------------------------------------------------------------------------
7269
# | PATH updating

Dockerfile.16-bullseye-build

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ RUN apt-get update &&\
6363
# | Installs yarn. It provides some nice improvements over npm.
6464
# |
6565

66-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
67-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
68-
apt-get update &&\
69-
apt-get install -y --no-install-recommends yarn
66+
RUN corepack enable && corepack prepare yarn@stable --activate
7067

7168
# |--------------------------------------------------------------------------
7269
# | PATH updating

Dockerfile.18-apache-bullseye

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ RUN apt-get update &&\
133133
# | Installs yarn. It provides some nice improvements over npm.
134134
# |
135135

136-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
137-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
138-
apt-get update &&\
139-
apt-get install -y --no-install-recommends yarn
136+
RUN corepack enable && corepack prepare yarn@stable --activate
140137

141138
# |--------------------------------------------------------------------------
142139
# | PATH updating

Dockerfile.18-apache-bullseye-build

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ RUN apt-get update &&\
133133
# | Installs yarn. It provides some nice improvements over npm.
134134
# |
135135

136-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
137-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\
138-
apt-get update &&\
139-
apt-get install -y --no-install-recommends yarn
136+
RUN corepack enable && corepack prepare yarn@stable --activate
140137

141138
# |--------------------------------------------------------------------------
142139
# | PATH updating

0 commit comments

Comments
 (0)