Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
jpr_prodige_geonetwork
Commits
98bec192
Commit
98bec192
authored
Mar 11, 2022
by
Jenkins
Browse files
Merge commit '
827ab1fb
'
parents
1502ce8b
827ab1fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
cicd/build/docker-prod/web/Dockerfile
View file @
98bec192
FROM
tomcat:8-jdk8
RUN
apt update
;
\
apt
install
-y
ca-certificates-java
## Not delpoy the geosource-overlay-3.4.1-0.war but the unziped one in docker
COPY
--chown=root:root ./target/geosource-overlay-3.4.1-0 /usr/local/tomcat/webapps/geonetwork
#COPY --chown=root:root ./etc/geosource-overlay-3.4.1-0 /etc/geosource-overlay-3.4.1-0
\ No newline at end of file
FROM
docker.alkante.com/alk-tomcat:8
COPY
--chown=tomcat8:tomcat8 ./target/geosource-overlay-3.4.1-0 /var/lib/tomcat8/webapps/geonetwork
USER
root
RUN
chown
-R
www-data:www-data /var/lib/tomcat8/
RUN
chown
-R
root:www-data /etc/tomcat8
RUN
chown
-R
www-data:www-data /var/cache/tomcat8
RUN
chown
-R
www-data:www-data /tmp/tomcat8
RUN
chown
-R
www-data:www-data /var/log/tomcat8/
USER
www-data
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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