-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from Ferlab-Ste-Justine/feat/CLIN-3614-add-doc…
…ker-image-for-exomiser-v13.1 feat: CLIN-3614 add docker image for exomiser 13.1.0
- Loading branch information
Showing
6 changed files
with
121 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ARG EXOMISER_VERSION=13.1.0 | ||
|
||
# -------------------------------------------------------------------------- # | ||
# Stage 1: using the distroless image to obtain exomiser distribution files # | ||
# # | ||
# We are using this image to guarantee the same packaging strategy as # | ||
# in other exomiser-cli images # | ||
# -------------------------------------------------------------------------- # | ||
FROM exomiser/exomiser-cli:${EXOMISER_VERSION} AS builder | ||
|
||
|
||
# -------------------------------------------------------------- # | ||
# Stage 2: Create an image similar to exomiser cli bash images # | ||
# # | ||
# We replicate only the necessary logic to launch the same java # | ||
# command as in other Exomiser images. # | ||
# -------------------------------------------------------------- # | ||
|
||
FROM eclipse-temurin:17.0.6_10-jre AS exomiser-cli-bash | ||
|
||
COPY --from=builder /app /app | ||
|
||
|
||
# ---------------------------------- # | ||
# Stage 3: Add nextflow requirements # | ||
# ---------------------------------- # | ||
|
||
FROM exomiser-cli-bash | ||
|
||
ARG EXOMISER_VERSION | ||
|
||
# Adding ps to the container (required by nextflow) | ||
RUN apt-get update && \ | ||
apt-get install -y procps=2:3.3.17-6ubuntu2.1 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
# Create a file containing the exomiser version, as there is no way to retrieve it from the exomiser-cli. | ||
RUN echo ${EXOMISER_VERSION} > EXOMISER_VERSION.txt | ||
|
||
# Required to execute exomiser docker with nextflow | ||
ENTRYPOINT [ ] |