File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ function wait_for_scan() {
1818 echo " SCAN IS NOT YET COMPLETE..."
1919 sleep 3
2020 done
21- echo " Final sleep to ensure suppressions are applied correctly"
22- sleep 5
21+ echo " Final sleep to ensure findings are shown correctly"
22+ sleep 60
2323}
2424
2525function check_for_high_critical_vuln() {
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ ENV PATH="$PATH:/home/cdkuser/.asdf/bin/:/home/cdkuser/node_modules/.bin"
3232# Install ASDF plugins
3333RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
3434# install some common node versions that are used in builds to speed things up
35- RUN asdf install nodejs 20.19.1
36- RUN asdf install nodejs 23.9.0
35+ RUN asdf install nodejs 20.19.1; \
36+ asdf install nodejs 23.9.0; \
37+ cd ~/.asdf/installs/nodejs/20.19.1/lib && npm update npm
3738
3839# copy files needed for deployment
3940COPY --chown=cdkuser docker/entrypoint.sh /home/cdkuser/
You can’t perform that action at this time.
0 commit comments