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
827ab1fb
Commit
827ab1fb
authored
Mar 11, 2022
by
kalix
Browse files
User non root
parent
261c07cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
cicd/build/docker-prod/web/Dockerfile
View file @
827ab1fb
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
Chef Projet Prodige
@prodigeadmin
mentioned in commit
98bec192
·
Mar 11, 2022
mentioned in commit
98bec192
mentioned in commit 98bec1929caa3f14859bf38e1d1586054bf831cf
Toggle commit list
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