-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(security): vulnerabilities found in example-carbon-accounting
Primary Changes ---------------- 1. Modified the Dockerfile to use the updated versions of the packages being used 2. Modified the supervisord.conf to use the correct path because it has changed after updating the versions Fixes #2062 Signed-off-by: aldousalvarez <[email protected]>
- Loading branch information
1 parent
e87e577
commit f49d52a
Showing
4 changed files
with
29 additions
and
8 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
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,4 +1,4 @@ | ||
FROM cruizba/ubuntu-dind:19.03.11 as runner | ||
FROM cruizba/ubuntu-dind:20.10.18 as runner | ||
|
||
USER root | ||
|
||
|
@@ -33,12 +33,13 @@ WORKDIR ${APP} | |
|
||
SHELL ["/bin/bash", "--login", "-i", "-c"] | ||
# Installing Node Version Manager (nvm) | ||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | ||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash | ||
RUN source ~/.bashrc && \ | ||
nvm install 16.15.1 && \ | ||
npm install -g yarn && \ | ||
yarn add @hyperledger/cactus-example-carbon-accounting-backend@0.9.1-ci-942.cbb849c6.35 --ignore-engines --production | ||
|
||
nvm install 20.11.1 && \ | ||
npm install --location=global yarn && \ | ||
yarn set version 4.1.0 && \ | ||
yarn add @hyperledger/[email protected] | ||
|
||
SHELL ["/bin/bash", "--login", "-c"] | ||
|
||
|
||
|
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
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