diff options
author | Alex Goodman <wagoodman@gmail.com> | 2019-11-05 00:05:39 -0500 |
---|---|---|
committer | Alex Goodman <wagoodman@gmail.com> | 2019-11-05 00:07:48 -0500 |
commit | 25acd85ce2b1399a5e3883176256e52453beea4f (patch) | |
tree | 109ea29198d46ac311e9e5e046b26bc9703e2522 | |
parent | 7ec08a364b67dbd8f3eead5fcce95d121459c056 (diff) |
bump to 0.9.0v0.8.2
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | README.md | 18 |
2 files changed, 11 insertions, 9 deletions
@@ -8,5 +8,5 @@ RUN apt-get update && apt-get install -y \ ARG DOCKER_CLI_VERSION="19.03.1" RUN curl -L https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_CLI_VERSION.tgz | \ tar -xz --strip-component=1 -C /usr/local/bin/ docker/docker -COPY dist/dive_linux_amd64/dive /usr/local/bin/ +COPY dive /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/dive"] @@ -59,9 +59,11 @@ You only need to replace your `docker build` command with the same `dive build` command. **CI Integration** + Analyze and image and get a pass/fail result based on the image efficiency and wasted space. Simply set `CI=true` in the environment when invoking any valid dive command. -**With Multiple Image Sources and Container Engines Supported** +**Multiple Image Sources and Container Engines Supported** + With the `--source` option, you can select where to fetch the container image from: ```bash dive <your-image> --source <source> @@ -80,14 +82,14 @@ With valid `source` options as such: **Ubuntu/Debian** ```bash -wget https://github.com/wagoodman/dive/releases/download/v0.8.1/dive_0.8.1_linux_amd64.deb -sudo apt install ./dive_0.8.1_linux_amd64.deb +wget https://github.com/wagoodman/dive/releases/download/v0.9.0/dive_0.9.0_linux_amd64.deb +sudo apt install ./dive_0.9.0_linux_amd64.deb ``` **RHEL/Centos** ```bash -curl -OL https://github.com/wagoodman/dive/releases/download/v0.8.1/dive_0.8.1_linux_amd64.rpm -rpm -i dive_0.8.1_linux_amd64.rpm +curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.0/dive_0.9.0_linux_amd64.rpm +rpm -i dive_0.9.0_linux_amd64.rpm ``` **Arch Linux** @@ -106,11 +108,11 @@ The above example assumes [`yay`](https://aur.archlinux.org/packages/yay/) as th brew install dive ``` -or download the latest Darwin build from the [releases page](https://github.com/wagoodman/dive/releases/download/v0.8.1/dive_0.8.1_darwin_amd64.tar.gz). +or download the latest Darwin build from the [releases page](https://github.com/wagoodman/dive/releases/download/v0.9.0/dive_0.9.0_darwin_amd64.tar.gz). **Windows** -Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.8.1/dive_0.8.1_windows_amd64.zip). +Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.9.0/dive_0.9.0_windows_amd64.zip). **Go tools** Requires Go version 1.9 or higher. @@ -131,7 +133,7 @@ or docker pull quay.io/wagoodman/dive ``` -When running you'll need to include the docker client binary and socket file: +When running you'll need to include the docker socket file: ```bash docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ |