Skip to content

Commit b66199d

Browse files
further pin specific npm package versions
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 2d68a5f commit b66199d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ USER root
1818

1919
# Install corepack & node-gyp dependency
2020
RUN microdnf install -y python3 gcc-c++ make && \
21-
npm install --build-from-resource node-gyp && \
21+
npm install --build-from-resource node-gyp@12.2.0 && \
2222
npm install -g corepack@0.34.6
2323

2424
# Install yarn v4
25-
RUN corepack install -g yarn@4
25+
RUN corepack install -g yarn@4.12.0
2626

2727
# Project non-specific args
2828
ARG PROJECT_NAME
@@ -64,7 +64,7 @@ USER root
6464
RUN npm install -g corepack@0.34.6
6565

6666
# Install yarn v4
67-
RUN corepack install -g yarn@4
67+
RUN corepack install -g yarn@4.12.0
6868

6969
# Project non-specific args
7070
ARG PROJECT_NAME
@@ -96,7 +96,7 @@ USER root
9696
RUN microdnf install shadow-utils -y
9797

9898
# Install react-env to update environment variables during runtime
99-
RUN npm install -g @beam-australia/react-env
99+
RUN npm install -g @beam-australia/react-env@3.1.1
100100

101101
# Project non-specific args
102102
ARG PROJECT_NAME

0 commit comments

Comments
 (0)