Skip to content

Commit

Permalink
Updated docker image for v2.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Cameron committed Dec 10, 2020
1 parent af820da commit 36c5c21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
*
!/target/*-jar-with-dependencies.jar
!/scripts/*

!/target/github_package/*
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENV R_INSTALL_STAGED=false
RUN Rscript -e 'options(Ncpus=16L, repos="https://cloud.r-project.org/");install.packages(c("tidyverse", "assertthat", "testthat", "NMF", "randomForest", "stringdist", "stringr", "argparser", "R.cache", "BiocManager", "Rcpp", "blob", "RSQLite"))'
RUN Rscript -e 'options(Ncpus=16L, repos="https://cloud.r-project.org/");BiocManager::install(ask=FALSE, pkgs=c("copynumber", "StructuralVariantAnnotation", "VariantAnnotation", "rtracklayer", "BSgenome", "Rsamtools", "biomaRt", "org.Hs.eg.db", "TxDb.Hsapiens.UCSC.hg19.knownGene", "TxDb.Hsapiens.UCSC.hg38.knownGene"))'

ENV GRIDSS_VERSION=2.9.4
ENV GRIDSS_VERSION=2.10.2
ENV GRIDSS_JAR=/opt/gridss/gridss-${GRIDSS_VERSION}-gridss-jar-with-dependencies.jar
LABEL version="1"
LABEL software="GRIDSS"
Expand All @@ -31,10 +31,9 @@ LABEL about.home="https://github.com/PapenfussLab/gridss"
LABEL about.tags="Genomics"

RUN mkdir /opt/gridss/
COPY target/gridss-${GRIDSS_VERSION}-gridss-jar-with-dependencies.jar /opt/gridss/
COPY scripts/*.sh /opt/gridss/
COPY scripts/*.R /opt/gridss/
COPY src/main/c/gridsstools/gridsstools /opt/gridss/
COPY target/github_package/* /opt/gridss/
RUN chmod +x /opt/gridss/gridsstools /opt/gridss/*.R /opt/gridss/*.sh
ENV PATH="/opt/gridss:$PATH"

WORKDIR /data/
ENTRYPOINT ["/opt/gridss/gridss.sh"]
4 changes: 2 additions & 2 deletions scripts/dev/create_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ fi
echo Building GRIDSS $version
docker build --tag gridss/gridss:latest .
docker build --tag gridss/gridss:$version .
docker push gridss/gridss:latest
docker push gridss/gridss:$version
echo docker push gridss/gridss:latest
echo docker push gridss/gridss:$version

0 comments on commit 36c5c21

Please sign in to comment.