File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,13 @@ echo ". /opt/conda/etc/profile.d/conda.sh; conda activate base" >> /etc/bash.bas
2121EOF
2222
2323# we need perl temporarily for the remaining benchmark perl scripts
24- RUN apt-get update
25-
26- RUN apt-get install perl patch -y
24+ RUN <<EOF
25+ apt-get update
26+ apt-get install -y \
27+ patch \
28+ perl
29+ rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
30+ EOF
2731
2832# update everything before other environment changes, to ensure mixing
2933# an older conda with newer packages still works well
Original file line number Diff line number Diff line change @@ -24,9 +24,13 @@ echo ". /opt/conda/etc/profile.d/conda.sh; conda activate base" >> /etc/bash.bas
2424EOF
2525
2626# we need perl temporarily for the remaining benchmark perl scripts
27- RUN apt-get update
28-
29- RUN apt-get install perl patch -y
27+ RUN <<EOF
28+ apt-get update
29+ apt-get install -y \
30+ patch \
31+ perl
32+ rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
33+ EOF
3034
3135RUN <<EOF
3236mamba update --all -y -n base
You can’t perform that action at this time.
0 commit comments