Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM {{mamba_image}} AS build
USER root
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
# expose `which` at /usr/bin/which for R (bioconda) post-link scripts; the amazon2023 base image lacks it
RUN micromamba install -y -n base conda-forge::which \
RUN micromamba install -y -n base conda-forge::which conda-forge::gzip \
&& ln -sf "$MAMBA_ROOT_PREFIX/bin/which" /usr/bin/which \
&& (micromamba install -y -n base -f /tmp/conda.yml > /tmp/mamba.log 2>&1 \
&& cat /tmp/mamba.log \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM {{mamba_image}} AS build
USER root
# expose `which` at /usr/bin/which for R (bioconda) post-link scripts; the amazon2023 base image lacks it
RUN \
micromamba install -y -n base conda-forge::which \
micromamba install -y -n base conda-forge::which conda-forge::gzip \
&& ln -sf "$MAMBA_ROOT_PREFIX/bin/which" /usr/bin/which \
&& (micromamba install -y -n base {{channel_opts}} {{target}} > /tmp/mamba.log 2>&1 \
&& cat /tmp/mamba.log \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ From: {{mamba_image}}
{{wave_context_dir}}/conda.yml /scratch/conda.yml
%post
# expose `which` at /usr/bin/which for R (bioconda) post-link scripts; the amazon2023 base image lacks it
micromamba install -y -n base conda-forge::which
micromamba install -y -n base conda-forge::which conda-forge::gzip
ln -sf "$MAMBA_ROOT_PREFIX/bin/which" /usr/bin/which
micromamba install -y -n base -f /scratch/conda.yml > /tmp/mamba.log 2>&1 \
&& cat /tmp/mamba.log \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BootStrap: docker
From: {{mamba_image}}
%post
# expose `which` at /usr/bin/which for R (bioconda) post-link scripts; the amazon2023 base image lacks it
micromamba install -y -n base conda-forge::which
micromamba install -y -n base conda-forge::which conda-forge::gzip
ln -sf "$MAMBA_ROOT_PREFIX/bin/which" /usr/bin/which
micromamba install -y -n base {{channel_opts}} {{target}} > /tmp/mamba.log 2>&1 \
&& cat /tmp/mamba.log \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY conda.yml /opt/wave/conda.yml
WORKDIR /opt/wave

RUN pixi init --import /opt/wave/conda.yml \
&& pixi add conda-forge::which \
&& pixi add conda-forge::which conda-forge::gzip \
{{base_packages}}
&& pixi shell-hook > /shell-hook.sh \
&& echo 'exec "$@"' >> /shell-hook.sh \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ From: {{pixi_image}}
%post
mkdir /opt/wave && cd /opt/wave
pixi init --import /scratch/conda.yml
pixi add conda-forge::which
pixi add conda-forge::which conda-forge::gzip
{{base_packages}}
pixi shell-hook > /shell-hook.sh
echo ">> CONDA_LOCK_START"
Expand Down
Loading