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
f552bbfc
Commit
f552bbfc
authored
Nov 03, 2020
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Dockerfile
Dockerfile
+5
-0
No files found.
Dockerfile
View file @
f552bbfc
...
@@ -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
...
...
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