diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 61f591e9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -os: linux -dist: bionic -language: ruby -cache: bundler -rvm: - - 2.7 - - 2.6 - - 2.5 - - 2.4 - - 2.3 - - 2.2 -env: - - DOCKER_VERSION=5:19.03.8~3-0~ubuntu-bionic - - DOCKER_VERSION=5:18.09.9~3-0~ubuntu-bionic - - DOCKER_VERSION=18.06.3~ce~3-0~ubuntu -jobs: - fast_finish: true -before_install: - - docker --version - - gem install bundler -v '~> 1.17.3' -before_script: - - sudo ./script/install_docker.sh ${DOCKER_VERSION} ${DOCKER_CE} - - uname -a - - docker --version - - docker info diff --git a/README.md b/README.md index dea7f7bb..fffe8e31 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ docker-api ========== -[![Gem Version](https://badge.fury.io/rb/docker-api.svg)](https://badge.fury.io/rb/docker-api) [![Code Climate](https://codeclimate.com/github/upserve/docker-api.svg)](https://codeclimate.com/github/upserve/docker-api) +[![Gem Version](https://badge.fury.io/rb/docker-api.svg)](https://badge.fury.io/rb/docker-api) This gem provides an object-oriented interface to the [Docker Engine API](https://docs.docker.com/develop/sdk/). Every method listed there is implemented. At the time of this writing, docker-api is meant to interface with Docker version 1.4.* diff --git a/script/install_docker.sh b/script/install_docker.sh deleted file mode 100755 index 8c16e33b..00000000 --- a/script/install_docker.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -set -ex - -declare -a SEMVER - -# argv[0] -DOCKER_VERSION=$1 -# argv[1] -DOCKER_CE=$2 - -# disable travis default installation -systemctl stop docker.service -apt-get -y --purge remove docker docker-engine docker.io containerd runc - -# install gpg key for docker rpo -curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - -apt-key fingerprint 0EBFCD88 - -# enable docker repo -add-apt-repository \ - "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ - $(lsb_release -cs) \ - stable" -apt-get update -apt-cache gencaches - -set +e -# install package -apt-get install docker-ce=${DOCKER_VERSION} - -if [ $? -ne 0 ]; then - echo "Error: Could not install ${DOCKER_VERSION}" - echo "Available docker versions:" - apt-cache madison docker-ce - exit 1 -fi -set -e - -systemctl stop docker.service - -echo 'DOCKER_OPTS="-H unix:///var/run/docker.sock --pidfile=/var/run/docker.pid"' > /etc/default/docker -cat /etc/default/docker - -systemctl start docker.service