-
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.
Move dependencies to environment.yaml
- Loading branch information
Showing
2 changed files
with
8 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,31 +6,9 @@ COPY --chown=$MAMBA_USER:$MAMBA_USER dist/*.whl /tmp/ | |
WORKDIR /app | ||
|
||
RUN micromamba install -y -n base -f /tmp/environment.yml && \ | ||
micromamba install -c conda-forge -n base gcc gxx_impl_linux-64 gxx_linux-64 binutils_impl_linux-64 && \ | ||
micromamba install -c conda-forge -n base binutils && \ | ||
micromamba clean --all --yes | ||
|
||
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
RUN WHEEL=$(ls /tmp/*.whl) && pip install ${WHEEL} | ||
|
||
RUN pip install petasus | ||
|
||
# FROM mambaorg/micromamba:latest | ||
# MAINTAINER William E Fondrie <[email protected]> | ||
# COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yml /tmp/environment.yml | ||
# COPY --chown=$MAMBA_USER:$MAMBA_USER dist/*.whl /tmp/ | ||
|
||
# WORKDIR /app | ||
|
||
# RUN micromamba install -y -n base -f /tmp/environment.yml && \ | ||
# micromamba install -c conda-forge -n base gcc gxx_impl_linux-64 gxx_linux-64 binutils_impl_linux-64 && \ | ||
# micromamba install -c conda-forge -n base binutils && \ | ||
# micromamba clean --all --yes | ||
|
||
# ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
# RUN WHEEL=$(ls /tmp/*.whl) && pip install ${WHEEL} | ||
|
||
# RUN echo "conda activate petasus" >> ~/.bashrc | ||
# SHELL ["/bin/bash", "--login", "-c"] | ||
|
||
# RUN pip install git+https://github.com/TalusBio/petasus |
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