Skip to content

Commit

Permalink
alpine base image & bump 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoodman committed Nov 9, 2019
1 parent 3fbc016 commit bfcfc54
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ release:

builds:
- binary: dive
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
Expand Down
18 changes: 8 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand All @@ -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.
Expand Down

0 comments on commit bfcfc54

Please sign in to comment.