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
af525c77
Commit
af525c77
authored
Nov 03, 2020
by
Casey Spicer
Browse files
removed healthcheck
parent
6568f749
Pipeline
#68138
passed with stages
in 15 minutes and 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Dockerfile
Dockerfile
+1
-3
No files found.
Dockerfile
View file @
af525c77
...
@@ -69,8 +69,7 @@ RUN useradd -ms /bin/bash ${user} && \
...
@@ -69,8 +69,7 @@ RUN useradd -ms /bin/bash ${user} && \
[
!
-d
/var/cache/yum
]
||
rm
-rf
/var/cache/yum
[
!
-d
/var/cache/yum
]
||
rm
-rf
/var/cache/yum
USER
${user}
USER
${user}
#Point java to use a dedicated directory for ephemeral use
ENV
URL=https://google.com
ARG
JAVA_OPTS
ARG
JAVA_OPTS
ENV
JAVA ${JAVA_OPTS:- '-Djava.io.tmp=/tempdir'}
ENV
JAVA ${JAVA_OPTS:- '-Djava.io.tmp=/tempdir'}
...
@@ -79,4 +78,3 @@ WORKDIR /src
...
@@ -79,4 +78,3 @@ WORKDIR /src
CMD
[]
CMD
[]
ENTRYPOINT
[ "/bin/sh", "/usr/share/dependency-check/bin/container-entrypoint.sh" ]
ENTRYPOINT
[ "/bin/sh", "/usr/share/dependency-check/bin/container-entrypoint.sh" ]
HEALTHCHECK
--interval=30s --timeout=30s --start-period=5s --retries=3 CMD curl $URL
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