Skip to content

Commit

Permalink
Merge pull request #68 from Pathogen-Genomics-Cymru/version-fix
Browse files Browse the repository at this point in the history
Version fix
  • Loading branch information
t-whalley authored Jul 10, 2024
2 parents 4348be3 + 8d41091 commit 32e4601
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions docker/Dockerfile.tbprofiler-0.9.8.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM ubuntu:focal
#copy the reference genome to pre-compute our index
COPY resources/tuberculosis.fasta /data/tuberculosis.fasta

ENV tbdb_version=a5e1d48 \
tbprofiler_version=6.2.1
TMPDIR="."

#USER root
WORKDIR /
ENV TMPDIR="/data"
Expand Down Expand Up @@ -56,5 +60,3 @@ WORKDIR /data
#wants full path to reference
RUN tb-profiler update_tbdb --match_ref /data/tuberculosis.fasta --commit ${TBDB_VER}

#set tmpdir to current working directory so we don't write to filesystem
ENV TMPDIR="."
9 changes: 6 additions & 3 deletions singularity/Singularity.tbprofiler-0.9.8.1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ maintainer3.email="[email protected]"

#copy the reference genome to pre-compute our index

tbdb_version=a5e1d48
tbprofiler_version=6.2.1
TMPDIR="."

#USER root
mkdir -p /
cd /
Expand Down Expand Up @@ -64,13 +68,12 @@ cd /data
#wants full path to reference
tb-profiler update_tbdb --match_ref /data/tuberculosis.fasta --commit ${TBDB_VER}

#set tmpdir to current working directory so we don't write to filesystem
TMPDIR="."
%environment
export tbdb_version=a5e1d48
export tbprofiler_version=6.2.1
export TMPDIR="/data"
export MAMBA_ROOT_PREFIX="/opt/conda"
export PATH="/opt/conda/bin:${PATH}"
export TMPDIR="."
%runscript
cd /data
exec /bin/bash "$@"
Expand Down

0 comments on commit 32e4601

Please sign in to comment.