On Thu, Dec 13, 2018 at 3:31 AM Woonsan Ko <woon...@apache.org> wrote:

> On Mon, Dec 10, 2018 at 11:49 PM Rémy Maucherat <r...@apache.org> wrote:
> <snip>
> > I have nothing against adding the feature (as long as I'm not doing it),
> > but for the "microservice" cloud design, I would expect "small" (haha)
> self
> > contained reproduceable images. If you pull the application from
> somewhere
> > at runtime, then it's whatever micro or not and it can evolve,
>
> That's an interesting idea for the scenarios of the "(b) deploying a
> docker image ..." kind.
>
> > I added a package tool recently for images:
> > https://github.com/apache/tomcat/tree/trunk/res/tomcat-maven
>
> Suppose a docker image from the project is available and I inherit
> from it in my custom docker image just by attaching some wars
> somehow--pulling online or reading from an attached volume.
> Then can I simply change the command line args? Is that a correct
> assumption?
>

Yes, you can add files to it, but given that it is very small it's mostly
an example. The official image for Tomcat is a more complex one based on
standalone.

For comparison:
https://github.com/docker-library/tomcat/blob/a3690c7d71d468e51f0c01ded83f79c7686a2a35/9.0/jre8-alpine/Dockerfile

Rémy

Reply via email to