-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update the containerfile to install the dependencies globally
- Loading branch information
1 parent
e3e01f1
commit 4c7f5ad
Showing
3 changed files
with
13 additions
and
7,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.