Skip to content

Commit

Permalink
Merge pull request #1842 from girder/smaller-test-docker
Browse files Browse the repository at this point in the history
Make the test docker slightly smaller
  • Loading branch information
manthey authored Mar 4, 2025
2 parents 1fdb21b + e61e736 commit bfc1d06
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ RUN userdel -r ubuntu 2>/dev/null
RUN apt-get update && \
apt-get install -y --no-install-recommends \
# general utilities \
software-properties-common \
# We had been installing \
# software-properties-common \
# but this includes a copy of python which we will install later, so \
# install its component parts without python (see \
# https://packages.debian.org/stable/software-properties-common) \
ca-certificates \
distro-info-data \
gir1.2-glib-2.0 \
gir1.2-packagekitglib-1.0 \
gpg \
iso-codes \
lsb-release \
packagekit \
# as specified by \
# https://github.com/pyenv/pyenv/wiki#suggested-build-environment \
build-essential \
Expand Down Expand Up @@ -74,7 +86,7 @@ RUN apt-get update && \
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash && \
find / -xdev -name __pycache__ -type d -exec rm -r {} \+ && \
rm -r /etc/ssh/ssh_host* && \
rm -rf /usr/share/vim/vim91/{doc,tutor}/* /usr/share/doc && \
rm -rf /usr/share/vim/vim91/doc/* /usr/share/vim/vim91/tutor/* /usr/share/doc && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/*

RUN git clone "https://github.com/universal-ctags/ctags.git" "./ctags" && \
Expand Down

0 comments on commit bfc1d06

Please sign in to comment.