UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
S
Solutions Delivery Platform
dependency-check
dependency-check
Commits
520c489d
Commit
520c489d
authored
Jan 07, 2020
by
Peter Sigur
Browse files
adding pgrep to install and adding a healthcheck
parent
012af68d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
5.2.4/Dockerfile
5.2.4/Dockerfile
+2
-1
No files found.
5.2.4/Dockerfile
View file @
520c489d
...
@@ -19,7 +19,7 @@ LABEL name="Solutions Delivery Platform: OWASP Dependency Checker" \
...
@@ -19,7 +19,7 @@ LABEL name="Solutions Delivery Platform: OWASP Dependency Checker" \
COPY
LICENSE /licenses
COPY
LICENSE /licenses
### Add necessary Red Hat repos and packages here
### Add necessary Red Hat repos and packages here
RUN
INSTALL_PKGS
=
"java-1.8.0-openjdk-devel mono-devel ruby unzip"
&&
\
RUN
INSTALL_PKGS
=
"java-1.8.0-openjdk-devel mono-devel
pgrep
ruby unzip"
&&
\
yum update
-y
\
yum update
-y
\
--nogpgcheck
\
--nogpgcheck
\
--disablerepo
=
unified_platform_ubi8_os
\
--disablerepo
=
unified_platform_ubi8_os
\
...
@@ -62,5 +62,6 @@ VOLUME ["/src" "/usr/share/dependency-check/data" "/report"]
...
@@ -62,5 +62,6 @@ VOLUME ["/src" "/usr/share/dependency-check/data" "/report"]
WORKDIR
/src
WORKDIR
/src
HEALTHCHECK
--interval=30s --timeout=30s --start-period=5s --retries=3 CMD pgrep -f "dependency-check.sh"
CMD
["--help"]
CMD
["--help"]
ENTRYPOINT
["/usr/share/dependency-check/bin/dependency-check.sh"]
ENTRYPOINT
["/usr/share/dependency-check/bin/dependency-check.sh"]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment