You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hiran CHAUDHURI <hi...@amadeus.com.INVALID> on 2022/07/01 08:02:26 UTC

RE: Tomcat in distroless image

CONFIDENTIAL & RESTRICTED

Just my 2 cents...

Tomcat is based on Java.
AFAIK java itself needs a wide range of 'OS services'. Is there some distributionless java image around?

Hiran

-----Original Message-----
From: Thomas Meyer <th...@m3y3r.de>
Sent: Thursday, June 30, 2022 19:53
To: users@tomcat.apache.org
Subject: Tomcat in distroless image

CAUTION: External mail. Be careful with links and attachments.


Hi,

Sadly currently Tomcat startup relies on shell script to bootstrap JVM process.

In the light of distroless images (e.g. https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.chainguard.dev%2Fintroducing-apko-bringing-distroless-nirvana-to-alpine-linux%2F&amp;data=05%7C01%7C%7Ca362b5381ee24ff6446608da5ac15ec7%7Cb3f4f7c272ce4192aba4d6c7719b5766%7C0%7C0%7C637922083809078548%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Rf8VAfyRfwsCXQaiVsdgefafatLAJYuqBE%2FR6sYoxOk%3D&amp;reserved=0)
 what are you thoughts on packaging tomcat in distroless base OCI images that doesn't even contain any shell anymore?

Would it be possible to provide an alternative start mechanism which directly starts JVM process which setup/prepare env like the current catalina.sh shell script does?

What are your thoughts on above topic?

Mfg
Thomas
IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the use of the individual or entity shown above as addressees . It may contain information which is privileged, confidential or otherwise protected from disclosure under applicable laws . If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, printing, distribution, copying, disclosure or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by reply e-mail or using the address below and delete the message and any attachments from your system. Amadeus Data Processing GmbH Geschaftsfuhrer: Sven Fuhrmeister Sitz der Gesellschaft: Erding HR Munchen 212770 Berghamer Strasse 6 85435 Erding Germany.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org