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

[maven] Update to 3.3.3 #690

Merged
merged 1 commit into from
Apr 29, 2015
Merged

[maven] Update to 3.3.3 #690

merged 1 commit into from
Apr 29, 2015

Conversation

carlossg
Copy link
Contributor

Make latest point to JDK-8

@tianon
Copy link
Member

tianon commented Apr 29, 2015

Have you done testing to verify that USER maven doesn't break the way people have been using the maven image previously?

For example, https://github.com/jlrigau/ci-mesos/blob/058a5fdd659d311a432fd149454d98f4d6457501/maven-git/Dockerfile and https://github.com/darnould/maven-rpm/blob/1450e90596d2e045f2613feb22c9dec8b1a55d04/Dockerfile.

This is the main reason that most of the language stack official images stay as USER root; since they're the base for others to build their application on top of or using, they're not as easily transitioned to unilaterally "non-root" as something like MySQL can be, for instance (because people installing new stuff inside the MySQL image is much more rare than installing new packages on top of the image of a build tool).

@carlossg
Copy link
Contributor Author

ok, I used jenkins as an example, but if the recommended practice is to use root I'll change it

@tianon
Copy link
Member

tianon commented Apr 29, 2015

Well, jenkins is a service generally, so I think installing additional packages on top of it is probably less common than doing so on maven, which is a project build tool, right?

@carlossg
Copy link
Contributor Author

yep, will change and update the PR

@tianon
Copy link
Member

tianon commented Apr 29, 2015

Thanks! ❤️ 👍

Make latest point to JDK-8
carlossg added a commit to carlossg/docker-maven that referenced this pull request Apr 29, 2015
@carlossg
Copy link
Contributor Author

Updated

@tianon
Copy link
Member

tianon commented Apr 29, 2015

LGTM (carlossg/docker-maven@d92da50...882a217)

Build test of #690; 469830c (maven):

$ url="https://raw.githubusercontent.com/docker-library/official-images/469830cc12c86cb9933459dc261209a4535822c0/library/maven"
$ bashbrew build "$url"
Cloning maven (git://github.com/carlossg/docker-maven) ...
Processing maven:3.3.3-jdk-7 ...
Processing maven:3.3-jdk-7 ...
Processing maven:3-jdk-7 ...
Processing maven:3.3.3-jdk-7-onbuild ...
Processing maven:3.3-jdk-7-onbuild ...
Processing maven:3-jdk-7-onbuild ...
Processing maven:3.3.3-jdk-8 ...
Processing maven:3.3.3 ...
Processing maven:3.3-jdk-8 ...
Processing maven:3.3 ...
Processing maven:3-jdk-8 ...
Processing maven:3 ...
Processing maven:latest ...
Processing maven:3.3.3-jdk-8-onbuild ...
Processing maven:3.3.3-onbuild ...
Processing maven:3.3-jdk-8-onbuild ...
Processing maven:3.3-onbuild ...
Processing maven:3-jdk-8-onbuild ...
Processing maven:3-onbuild ...
Processing maven:onbuild ...
$ bashbrew list --uniq "$url" | xargs test/run.sh
testing maven:3.3.3-jdk-7
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing maven:3.3.3-jdk-7-onbuild
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing maven:3.3.3-jdk-8
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed
testing maven:3.3.3-jdk-8-onbuild
    'utc' [1/2]...passed
    'cve-2014--shellshock' [2/2]...passed

@yosifkit
Copy link
Member

LGTM

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.

4 participants