[Misc] Apply best practices as reported by yosifkit on...
[Misc] Apply best practices as reported by yosifkit on https://github.com/docker-library/official-images/pull/2563#issuecomment-276541490 * Removed the not needed sh files * Allow passing parameters to catalina.sh from the docker command line * Removed unnecessary apt upgrade + unncessary --force-yes option * Verify sha of xwiki war to make sure the right WAR is downloaded and avoid man in the middle attacks * Simplify the sed expression and do it in one step * Remove unnecessary EXPOSE (done by the tomcat image) * Install the MySQL JDBC driver using apt-get (libmysql-java package) instead of getting it directly from upstream
Showing
- xwiki-mysql-tomcat/Dockerfile 11 additions, 21 deletionsxwiki-mysql-tomcat/Dockerfile
- xwiki-mysql-tomcat/xwiki/docker-entrypoint.sh 28 additions, 8 deletionsxwiki-mysql-tomcat/xwiki/docker-entrypoint.sh
- xwiki-mysql-tomcat/xwiki/xwiki-config-replace.sh 0 additions, 26 deletionsxwiki-mysql-tomcat/xwiki/xwiki-config-replace.sh
- xwiki-mysql-tomcat/xwiki/xwiki-set-cfg 0 additions, 25 deletionsxwiki-mysql-tomcat/xwiki/xwiki-set-cfg
- xwiki-mysql-tomcat/xwiki/xwiki-set-properties 0 additions, 25 deletionsxwiki-mysql-tomcat/xwiki/xwiki-set-properties
Loading
Please register or sign in to comment