Skip to content

Commit

Permalink
Disable Docker Compose for now, takes too long to install
Browse files Browse the repository at this point in the history
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
  • Loading branch information
DieterReuter committed Jul 14, 2019
1 parent 701764b commit 1d798ac
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,19 +256,21 @@ chmod +x /usr/local/bin/docker-machine
# install bash completion for Docker Machine
curl -sSL "https://raw.githubusercontent.com/docker/machine/v${DOCKER_MACHINE_VERSION}/contrib/completion/bash/docker-machine.bash" -o /etc/bash_completion.d/docker-machine

# install Docker Compose via pip
apt-get install -y \
build-essential libffi-dev libssl-dev python python-dev
curl -sSL https://bootstrap.pypa.io/get-pip.py | python
pip install docker-compose=="${DOCKER_COMPOSE_VERSION}"
apt-get purge -y \
build-essential libffi-dev libssl-dev python-dev
apt-get autoremove -y --purge
apt-get autoclean
apt-get clean

# install bash completion for Docker Compose
curl -sSL "https://raw.githubusercontent.com/docker/compose/${DOCKER_COMPOSE_VERSION}/contrib/completion/bash/docker-compose" -o /etc/bash_completion.d/docker-compose
#---DISABLE DOCKER COMPOSE---
# # install Docker Compose via pip
# apt-get install -y \
# build-essential libffi-dev libssl-dev python python-dev
# curl -sSL https://bootstrap.pypa.io/get-pip.py | python
# pip install docker-compose=="${DOCKER_COMPOSE_VERSION}"
# apt-get purge -y \
# build-essential libffi-dev libssl-dev python-dev
# apt-get autoremove -y --purge
# apt-get autoclean
# apt-get clean
#
# # install bash completion for Docker Compose
# curl -sSL "https://raw.githubusercontent.com/docker/compose/${DOCKER_COMPOSE_VERSION}/contrib/completion/bash/docker-compose" -o /etc/bash_completion.d/docker-compose
#---DISABLE DOCKER COMPOSE---

echo "Installing rpi-serial-console script"
wget -q https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O usr/local/bin/rpi-serial-console
Expand Down

0 comments on commit 1d798ac

Please sign in to comment.