Sha256: b4ac9b409e841747981ad8f15284496d65778029a4bb8581697d08f2e9e1bff9
Contents?: true
Size: 559 Bytes
Versions: 4
Compression:
Stored size: 559 Bytes
Contents
#!/bin/bash set -e # Update bundler gem install bundler # Install docker sudo mkdir -p /opt/docker sudo curl -fo /opt/docker/docker "https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}" sudo chmod +x /opt/docker/docker running=0 for x in {1..3} do [[ $running != 1 ]] || break sudo rm -rf /var/run/docker.pid sudo /opt/docker/docker -d -D & DOCKER_PID=$! sleep 5 echo "Checking if docker is running" ps -p $DOCKER_PID && running=1 || echo "Couldn't start docker, retrying" done echo "Docker running, continuing"
Version data entries
4 entries across 4 versions & 1 rubygems