Closed surli closed 4 years ago
Happy to define the home directory.... just wondering if it should be $JETTY_HOME
or $JETTY_BASE
? I'm leaning towards $JETTY_BASE
.
IMO it would be less surprising for users to have $JETTY_HOME
as the jetty user home directory.
I'm looking for other examples in unix. gdm home is /var/lib/gdm3
and not /usr/lib/gdm3/
where the code lives. $JETTY_HOME
is equivalent to usr directory and $JETTY_BASE
is the /var directory in which you expect to make modifications.
... yes they should have been named the other way around...
ahah indeed :) so I guess a good compromise might be to indeed use JETTY_BASE as home dir, and to document it in https://docs.docker.com/samples/library/jetty/#environment
This issue has been moved to the new Official Eclipse Jetty Docker repository.
Current jetty images leaves the default home for the jetty user (i.e. /home/jetty) which might lead to various errors when building a custom image from it.
The error is easy to reproduce :