Skip to content

Commit

Permalink
ci: attempt to install DCC 0.5.0 & python 3.5 via docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed May 2, 2024
1 parent fbdb664 commit 09f8bae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/dcc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ ARG REPONAME="000000"
ENV REPONAME=${REPONAME}

# install DCC
ENV DCC_VERSION=0.5.0
RUN wget https://github.com/dieterich-lab/DCC/archive/refs/tags/v${DCC_VERSION}.tar.gz -O dcc.tar.gz && \
tar -xzvf dcc.tar.gz && \
cd DCC-${DCC_VERSION} && \
python setup.py install
COPY environment.yml /data2/
ENV CONDA_ENV=dcc
RUN mamba env create -n ${CONDA_ENV} -f /data2/environment.yml && \
echo "conda activate ${CONDA_ENV}" > ~/.bashrc
ENV PATH="/opt2/conda/envs/${CONDA_ENV}/bin:$PATH"
RUN which DCC && DCC -h

# Save Dockerfile in the docker
Expand Down
6 changes: 6 additions & 0 deletions docker/dcc/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
channels:
- conda-forge
- bioconda
dependencies:
- python=3.5
- bioconda::dcc=0.5.0

0 comments on commit 09f8bae

Please sign in to comment.