File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ RUN install_packages make dumb-init && /tmp/awscli.sh && rm /tmp/awscli.sh \
13
13
# Create our own user and remove the node user
14
14
&& groupadd --gid $SERVICE_UID $SERVICE_USER \
15
15
&& useradd --create-home --shell /bin/bash --gid $SERVICE_UID --uid $SERVICE_UID $SERVICE_USER \
16
- && userdel -r node
16
+ && userdel -r node \
17
+ # Enable Corepack
18
+ && npm install --global
[email protected] \
19
+ && corepack enable
17
20
18
21
ADD --chmod=755 https://github.com/articulate/docker-bootstrap/releases/latest/download/docker-bootstrap_linux_${TARGETARCH} /entrypoint
19
22
ADD --chmod=755 https://raw.githubusercontent.com/articulate/docker-bootstrap/main/scripts/docker-secrets /usr/local/bin/secrets
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN dnf -y install make zip shadow-utils \
10
10
# Add service user
11
11
&& /usr/sbin/groupadd --gid $SERVICE_UID $SERVICE_USER \
12
12
&& /usr/sbin/useradd --create-home --shell /bin/bash --uid $SERVICE_UID --gid $SERVICE_UID $SERVICE_USER \
13
+ # Enable Corepack
13
14
&& npm install --global
[email protected] \
14
15
&& corepack enable \
15
16
# clean up
You can’t perform that action at this time.
0 commit comments