Skip to content

Add explicit JAVA_HOME environment variable #61

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

Merged
merged 5 commits into from
Jan 5, 2016

Conversation

tianon
Copy link
Member

@tianon tianon commented Jan 5, 2016

Closes #28 (commit carried/rebased here)
Fixes #27

For reference, the intended use-case of the "docker-java-home" script this installs is things like https://github.com/docker-library/tomcat/pull/19/files#diff-03f3e74233d756c542dc2d234fe3c43bR42, where we are FROM the JRE image, but install the JDK temporarily in order to compile something and then remove it again for size.

# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM buildpack-deps:sid-scm
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Managed to catch an amusing oversight here, too. 😄

@tianon
Copy link
Member Author

tianon commented Jan 5, 2016

Yay, finally 🍏.

@yosifkit
Copy link
Member

yosifkit commented Jan 5, 2016

LGTM

yosifkit added a commit that referenced this pull request Jan 5, 2016
Add explicit JAVA_HOME environment variable
@yosifkit yosifkit merged commit b7a33e6 into docker-library:master Jan 5, 2016
@yosifkit yosifkit deleted the java-home branch January 5, 2016 23:01
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jan 7, 2016
- `docker`: alpine:3.3 (docker-library/docker#7)
- `drupal`: 8.0.2
- `java`: explicit `JAVA_HOME` (docker-library/openjdk#61)
- `php`: 5.5.31, 5.6.17, 7.0.2; fix edge case in `docker-php-ext-enable` (docker-library/php#172)
- `postgres`: 9.5.0; set `PGDATA` perms to `0700` (docker-library/postgres#110)
- `python`: add `alpine` variant for 3.5 (docker-library/python#74)
- `rabbitmq`: fix SSL bugs (docker-library/rabbitmq#55, docker-library/rabbitmq#56)
- `wordpress`: 4.4.1
RichardScothern pushed a commit to RichardScothern/official-images that referenced this pull request Jun 14, 2016
- `docker`: alpine:3.3 (docker-library/docker#7)
- `drupal`: 8.0.2
- `java`: explicit `JAVA_HOME` (docker-library/openjdk#61)
- `php`: 5.5.31, 5.6.17, 7.0.2; fix edge case in `docker-php-ext-enable` (docker-library/php#172)
- `postgres`: 9.5.0; set `PGDATA` perms to `0700` (docker-library/postgres#110)
- `python`: add `alpine` variant for 3.5 (docker-library/python#74)
- `rabbitmq`: fix SSL bugs (docker-library/rabbitmq#55, docker-library/rabbitmq#56)
- `wordpress`: 4.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants