Skip to content

Commit

Permalink
actually run the sed command on the pangolin environment.yml file *fa…
Browse files Browse the repository at this point in the history
…cepalm*
  • Loading branch information
kapsakcj committed Mar 12, 2024
1 parent c17ba64 commit 3f38d8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pangolin/4.3.1-pdata-1.26/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ ENV PATH="$PATH" \
LC_ALL=C.UTF-8

# modify environment.yml to pin specific versions during install
# pin specific versions of usher, scorpio, pangolin-data, constellations, and pulp
# create the conda environment using modified environment.yml
RUN sed -i "s|usher.*|usher=${USHER_VER}|" /pangolin/environment.yml && \
sed -i "s|scorpio.git|scorpio.git@${SCORPIO_VER}|" /pangolin/environment.yml && \
sed -i "s|pangolin-data.git|pangolin-data.git@${PANGOLIN_DATA_VER}|" /pangolin/environment.yml && \
sed -i "s|constellations.git|constellations.git@${CONSTELLATIONS_VER}|" /pangolin/environment.yml && \
sed "12 a\ - pulp=2.7.0" && \
sed -i "12 a\ - pulp=2.7.0" /pangolin/environment.yml && \
micromamba create -n pangolin -y -f /pangolin/environment.yml

# so that mamba/conda env is active when running below commands
Expand Down

0 comments on commit 3f38d8c

Please sign in to comment.