Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
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
Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

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

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

8 changes: 8 additions & 0 deletions .devcontainer/devcontainer.json
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
Copy link
Member

Choose a reason for hiding this comment

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

question: What does this customization do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a placeholder for vscode plugins .... can be removed
Nontheless, the whole impact of this PR is reduced by #35

}