-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add Windows Dockerfiles for OracleJava #209
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
Add Windows Dockerfiles for OracleJava #209
Conversation
I have no issue with merging this as a sample/reference for Windows Docker users. |
# | ||
# - http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html | ||
# | ||
e2fa735e6758e7c6bda43ba7cbaffe9c server-jre-8u112-linux-x64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't adjusted the checksum here as I don't know which sha type I should use or where to fetch the prebuilt checksum.
I added the sha256 sum and fixed the file name to download. |
I am ok with that too. But how about putting this under |
If you prefer that directory, I can move it. I just started a similar directory structure as in https://github.com/docker-library/mongo/tree/master/3.2 or https://github.com/docker-library/golang. |
I've moved the Windows Dockerfile and added samples for Java 7 as well. There is a problem ADDing the tar.gz of Java 7:
So I added a step to extract all files and ADD the extracted folder instead, but only for Java 7. |
Signed-off-by: Stefan Scherer <[email protected]>
@StefanScherer, since this is a somewhat large contribution, can you please sign our OCA? |
@brunoborges Sure, I'll do that. |
@brunoborges I've send a photo of the signed OCA yesterday. Let me know if you need more. |
@StefanScherer mind to forward the email to me? bruno dot borges at oracle dot com |
@brunoborges I've sent the OCA. Please let me know if you need more. |
@StefanScherer yeah I saw that already and working on it. Thx! |
So as announced today in the keynote at DockerCon there now is a official image of Oracle Java SE for Linux. Will there be a Windows version soon? :-) |
We will look into that, but no idea when (or if) we will have something on the Store. |
This is a proposal of some Windows Dockerfiles for Oracle Java Server JRE just like the Linux variants.
You also have to download the
server-jre-8u112-windows-x64.tar.gz
manually and put it into the windows directory and runbuild.sh
(I'm running this from my Mac talking to a Windows Docker engine in a VMware Fusion VM).Output: