Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Run as non-root by default #1

Closed
@md5

Description

Like most of the Docker official images, this image is currently configured to run as root. I'm opening this issue as a place to discuss what change should be made, if any. See this discussion in the context of the tomcat image for the sort of issues that can be anticipated for jetty.

I can see a few changes/enhancements being made to this image:

  1. Add code to the Dockerfile to create a consistent jetty user to allow users to easily do USER jetty in a derived Dockerfile or -u jetty in their docker run command.
  2. Document the use of JETTY_BASE for the jetty:9 image and give an example that uses --module setuid to drop privileges to the jetty user after starting as root.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions