Open bjagg opened 5 years ago
Part of the logic from, https://github.com/Jasig/uPortal-start/blob/262c4096cca4abfb6c8847a880fbae4d88542b6b/gradle/tasks/tomcat.gradle#L166-L183 could be reused.
For Dockerfile, COPY does not have exclusions. The recommendation is to run rm ...
COPY . /some/where/
RUN rm -Rf /some/where/e
tomcatZip
and tomcatTar
already have exclusions, just need to add a few more
Is your feature request related to a problem? Please describe. For a clean, lean Tomcat deployment from these binaries, deployers have to manually remove logs, temp files, and unneeded webapps.
Describe the solution you'd like Update Gradle tasks that wrap up Tomcat to ignore logs/,work/, temp/, portal/, webapps/docs, webapps/examples, webapps/host-manager, and webapps/manager.