alpine base image & bump 0.9.1

This commit is contained in:
Alex Goodman 2019-11-09 10:48:19 -05:00
parent 3fbc016826
commit bfcfc54ee3
No known key found for this signature in database
GPG key ID: 98AF011C5C78EB7E
3 changed files with 16 additions and 16 deletions

View file

@ -3,6 +3,8 @@ release:
builds:
- binary: dive
env:
- CGO_ENABLED=0
goos:
- windows
- darwin

View file

@ -1,12 +1,10 @@
FROM debian:sid-slim
RUN apt-get update && apt-get install -y \
curl \
libdevmapper1.02.1 \
libgpgme11-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 /usr/lib/libdevmapper.so.1.02
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
FROM alpine:3.10
ARG DOCKER_CLI_VERSION=19.03.1
RUN wget -O- https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz | \
tar -xzf - docker/docker --strip-component=1 && \
mv docker /usr/local/bin
COPY dive /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/dive"]

View file

@ -82,14 +82,14 @@ With valid `source` options as such:
**Ubuntu/Debian**
```bash
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
wget https://github.com/wagoodman/dive/releases/download/v0.9.1/dive_0.9.1_linux_amd64.deb
sudo apt install ./dive_0.9.1_linux_amd64.deb
```
**RHEL/Centos**
```bash
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
curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.1/dive_0.9.1_linux_amd64.rpm
rpm -i dive_0.9.1_linux_amd64.rpm
```
**Arch Linux**
@ -108,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.9.0/dive_0.9.0_darwin_amd64.tar.gz).
or download the latest Darwin build from the [releases page](https://github.com/wagoodman/dive/releases/download/v0.9.1/dive_0.9.1_darwin_amd64.tar.gz).
**Windows**
Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.9.0/dive_0.9.0_windows_amd64.zip).
Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.9.1/dive_0.9.1_windows_amd64.zip).
**Go tools**
Requires Go version 1.9 or higher.