Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty non-root default user #525

Merged
merged 1 commit into from
Mar 2, 2015
Merged

Jetty non-root default user #525

merged 1 commit into from
Mar 2, 2015

Conversation

md5
Copy link
Contributor

@md5 md5 commented Feb 28, 2015

  • Updates jetty image to use setuid module and user jetty by default
  • Uses the JETTY_BASE feature to have use a separate base directory of /var/lib/jetty, owned by user jetty

No tags removed or added.

Refs: appropriate/docker-jetty#1, appropriate/docker-jetty#4

Diff: appropriate/docker-jetty@d36c03e...4ad6b73

* Updates jetty image to use `setuid` module and user `jetty` by default
* Uses the `JETTY_BASE` feature to have use a separate base directory of `/var/lib/jetty`
@tianon
Copy link
Member

tianon commented Feb 28, 2015

LGTM

Build test of #525; 63bc3b5 (jetty):

$ url="https://raw.githubusercontent.com/docker-library/official-images/63bc3b5e7fdea00c82b9ab4b91b555dc7eba8532/library/jetty"
$ bashbrew build "$url"
Cloning jetty (git://github.com/md5/docker-jetty) ...
Processing jetty:9.2.9-jre7 ...
Processing jetty:9.2-jre7 ...
Processing jetty:9-jre7 ...
Processing jetty:jre7 ...
Processing jetty:9.2.9 ...
Processing jetty:9.2 ...
Processing jetty:9 ...
Processing jetty:latest ...
Processing jetty:9.2.9-jre8 ...
Processing jetty:9.2-jre8 ...
Processing jetty:9-jre8 ...
Processing jetty:jre8 ...
$ bashbrew list "$url" | xargs test/run.sh
testing jetty:9.2.9-jre7
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9.2-jre7
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9-jre7
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:jre7
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9.2.9
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9.2
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:latest
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9.2.9-jre8
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9.2-jre8
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:9-jre8
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing jetty:jre8
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed

@yosifkit
Copy link
Member

yosifkit commented Mar 2, 2015

LGTM

yosifkit added a commit that referenced this pull request Mar 2, 2015
@yosifkit yosifkit merged commit 74ee47e into docker-library:master Mar 2, 2015
@md5 md5 deleted the jetty-user-setuid branch March 2, 2015 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants