UNCLASSIFIED

Commit f552bbfc authored by Al Fontaine's avatar Al Fontaine
Browse files

Merge branch 'healthcheck' into 'development'

Healthcheck

See merge request !32
parents b7a40ebc af525c77
Pipeline #71717 failed with stages
in 7 minutes and 53 seconds
...@@ -63,10 +63,15 @@ RUN useradd -ms /bin/bash ${user} && \ ...@@ -63,10 +63,15 @@ RUN useradd -ms /bin/bash ${user} && \
chown -R ${user}:${user} /usr/share/dependency-check && \ chown -R ${user}:${user} /usr/share/dependency-check && \
mkdir /report && \ mkdir /report && \
chown -R ${user}:${user} /report && \ chown -R ${user}:${user} /report && \
mkdir /tempdir && \
chown -R ${user}:${user} /tempdir && \
yum -y -v clean all && \ yum -y -v clean all && \
[ ! -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
ARG JAVA_OPTS
ENV JAVA ${JAVA_OPTS:- '-Djava.io.tmp=/tempdir'}
VOLUME ["/src" "/usr/share/dependency-check/data" "/report"] VOLUME ["/src" "/usr/share/dependency-check/data" "/report"]
WORKDIR /src WORKDIR /src
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment