Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace apt-get with aptitude #502

Closed
wants to merge 1 commit into from
Closed
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
17 changes: 11 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,31 @@ RUN \
# xvfb nonsense adapted from https://github.com/samgiles/docker-xvfb
# remove -backports, -updates, -proposed, -security repositories
# looks like we have to grab libxxhash0 from -updates now
# use aptitude to fix intermittent install failure with apt-get
RUN \
apt-get update -y \
&& \
apt-get install --no-install-recommends libxxhash0 \
apt-get install -y aptitude \
&& \
apt-get clean \
aptitude update -y \
&& \
aptitude install --without-recommends libxxhash0 \
&& \
aptitude clean \
&& \
rm -rf /var/lib/apt/lists/* \
&& \
apt-get update -y \
aptitude update -y \
&& \
apt-get install -y software-properties-common \
aptitude install -y software-properties-common \
&& \
add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& \
add-apt-repository -y ppa:deadsnakes/ppa \
&& \
apt-get update -y \
aptitude update -y \
&& \
apt-get install --no-install-recommends --allow-downgrades -y \
aptitude install --without-recommends --allow-downgrades -y \
build-essential \
dpkg-dev \
g++-11 \
Expand Down
Loading