Skip to content

Commit

Permalink
fix: update the containerfile to install the dependencies globally
Browse files Browse the repository at this point in the history
  • Loading branch information
StinkyBenji committed Nov 15, 2023
1 parent e3e01f1 commit 4c7f5ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7,650 deletions.
19 changes: 13 additions & 6 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
FROM registry.access.redhat.com/ubi8/nodejs-18@sha256:d4ef3da5c97ae5f063f604d58ba620350c68c086f7f6d88ec0536a883b2d364f

USER 1001
WORKDIR $HOME

COPY package.json package.json
COPY package-lock.json package-lock.json
RUN \
npm install -g [email protected]

RUN \
npm --version \
&& npx --version \
&& npm clean-install \
&& npx semantic-release --help
&& npx --version

RUN \
npm install -g [email protected] \
&& npm install -g @semantic-release/[email protected] \
&& npm install -g @semantic-release/[email protected] \
&& npm install -g @semantic-release/[email protected] \
&& npm install -g @commitlint/[email protected]

RUN \
npx semantic-release --help
Loading

0 comments on commit 4c7f5ad

Please sign in to comment.