Skip to content

Commit

Permalink
update shell dec in base build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Nov 1, 2024
1 parent 90adddd commit 9e65a3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ LABEL \
ENV DEBIAN_FRONTEND=noninteractive
ENV MONGO_URI="mongodb://mongodb/?retryWrites=true&w=majority&appName=bio-check"

# enforce more dynamic shell
SHELL ["/usr/bin/env", "bash", "-c"]

RUN apt-get update && apt-get install -y \
python3.10 \
python3-pip \
Expand Down Expand Up @@ -65,9 +68,6 @@ ENV PATH="/opt/conda/bin:/opt/conda/envs/conda-env/bin:$PATH"
COPY assets/configs/.biosimulations.json /.google/.bio-check.json
COPY assets/environment.base.yml /tmp/environment.base.yml

# enforce more dynamic shell
SHELL ["/usr/bin/env", "bash", "-c"]

# create conda env from yml and ensure env activation
RUN conda init bash \
&& conda create -n conda-env python=3.10 -y \
Expand Down

0 comments on commit 9e65a3b

Please sign in to comment.