-
Notifications
You must be signed in to change notification settings - Fork 4
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
Maintainance/docker dev env #32
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
FROM --platform=linux/amd64 ghcr.io/talusbio/nf-encyclopedia:latest | ||
RUN apt update && apt install default-jdk-headless git docker -y | ||
ENV JAVA_HOME=/usr/lib/jvm/java-1*-openjdk-amd64 | ||
ENV PATH="/usr/bin:$PATH" | ||
RUN export -n _JAVA_OPTIONS | ||
RUN unset _JAVA_OPTIONS ; cd /bin && curl -s https://get.nextflow.io | bash | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"build": { "dockerfile": "Dockerfile" }, | ||
|
||
"customizations": { | ||
"vscode": {} | ||
} | ||
Comment on lines
+4
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: What does this customization do? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a placeholder for vscode plugins .... can be removed |
||
} | ||
|
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.
question: Have you tried used the version of the JRE that is installed in the production image?
We build on top of the official EncyclopeDIA image, which uses the openjdk:8-jre as their base image. I don't know if the JRE version will work with NextFlow, but it might be worth checking.
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.
Here's the EncyclopeDIA Dockerfile: https://bitbucket.org/searleb/encyclopedia/src/master/Dockerfile