Skip to content

Commit

Permalink
Clean up after apt installs
Browse files Browse the repository at this point in the history
  • Loading branch information
raydouglass committed Dec 19, 2024
1 parent 841e4a7 commit f6b14ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions cuvs-bench/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ echo ". /opt/conda/etc/profile.d/conda.sh; conda activate base" >> /etc/bash.bas
EOF

# we need perl temporarily for the remaining benchmark perl scripts
RUN apt-get update

RUN apt-get install perl patch -y
RUN <<EOF
apt-get update
apt-get install -y \
patch \
perl
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
EOF

# update everything before other environment changes, to ensure mixing
# an older conda with newer packages still works well
Expand Down
10 changes: 7 additions & 3 deletions cuvs-bench/gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ echo ". /opt/conda/etc/profile.d/conda.sh; conda activate base" >> /etc/bash.bas
EOF

# we need perl temporarily for the remaining benchmark perl scripts
RUN apt-get update

RUN apt-get install perl patch -y
RUN <<EOF
apt-get update
apt-get install -y \
patch \
perl
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
EOF

RUN <<EOF
mamba update --all -y -n base
Expand Down

0 comments on commit f6b14ae

Please sign in to comment.