Add OpenJDK:8 as a docker dependency
See original GitHub issueRight after onboarding into dockstore while deploying CGP Sanger pipeline, I’ve been greeted by this:
Dockstore requires Java version 1.8 and above.
On (legacy) HPC clusters this is bound to be a problem… would you accept a pullrequest that pulls jre 8 as a default runtime instead of relying on the host’s (deprecated) preinstalled JAVA?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to create a custom Docker image with JDK8, Maven and ...
In our case we will leave it empty. So, that's how to define a very simple Dockerfile with java installed (open jdk8). Step...
Read more >Best way to install java 8 using docker? - Stack Overflow
Add below setting to your DockerFile to install openjdk 8 in your docker container. # Install "software-properties-common" (for the ...
Read more >Unable to install openJdk8 on the container #182 - GitHub
People report that they are able to install the openJDK when they use native Debian-8 (jessie); however, even though the docker container tells ......
Read more >openjdk - Official Image | Docker Hub
This will add your current directory as a volume to the container, ... with any direct or indirect dependencies of the primary software...
Read more >10 best practices to build Java containers with Docker - Snyk
Additionally, I can also add the Dockerfile for better remediation advice. java container testing with Snyk. Snyk found 58 security issues in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brainstorm Hi, I think there are two parts to this answer
Hi, No, ironically, we haven’t actually run the dockstore command-line itself inside a Docker container.
Rather, the normal flow of things is on a particular host, Docker and Java 8 are installed, then cwltool. When you run the dockstore command-line, it does a bit of file provisioning, then calls cwltool, which starts a Docker container (CGP-Somatic-Docker) in your case, and then finishes up when the container stops. (We’ve run through Somatic Docker many times in this fashion)
These two pages of the tutorial describe this: https://dockstore.org/docs/getting-started-with-docker https://dockstore.org/docs/getting-started-with-cwl
Note that the dockstore command-line runs on the host and that’s where (Oracle) Java 1.8 is important. That’s why I thought you were either trying to a) try out the dockstore command-line with OpenJDK installed on the host when running on hosts that cannot install 1.8 or b) run the dockstore command-line in a docker container to work around this.