Skip to content

Commit

Permalink
Merge pull request #11 from Yelp/fix-itest-lucid
Browse files Browse the repository at this point in the history
Fix itest_lucid by fixing apt sources on broken ubuntu:lucid image
  • Loading branch information
asottile authored Jul 2, 2016
2 parents f9692f4 + 2f0948a commit e2d0e03
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/docker
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@ set -o pipefail
# We need to set standard /tmp permissions since it's a Docker volume.
chmod 1777 /tmp

apt-get update

if grep -qE '\<lucid\>' /etc/apt/sources.list; then
# lucid was archived, breaking the base image
# https://github.com/docker-library/official-images/issues/1902
sed -i 's/archive\.ubuntu\.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

apt-get update
apt-get install -y --no-install-recommends python-software-properties

# for python2.7 backport
add-apt-repository ppa:fkrull/deadsnakes
# for zsh 5 backport (lucid's zsh segfaults)
add-apt-repository ppa:blueyed/ppa

apt-get update
fi

apt-get update
apt-get install -y --no-install-recommends \
bash \
build-essential \
Expand Down

0 comments on commit e2d0e03

Please sign in to comment.