alpine base image & bump 0.9.1
This commit is contained in:
parent
3fbc016826
commit
bfcfc54ee3
@ -3,6 +3,8 @@ release:
|
|||||||
|
|
||||||
builds:
|
builds:
|
||||||
- binary: dive
|
- binary: dive
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
|
18
Dockerfile
18
Dockerfile
@ -1,12 +1,10 @@
|
|||||||
FROM debian:sid-slim
|
FROM alpine:3.10
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
curl \
|
ARG DOCKER_CLI_VERSION=19.03.1
|
||||||
libdevmapper1.02.1 \
|
RUN wget -O- https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz | \
|
||||||
libgpgme11-dev \
|
tar -xzf - docker/docker --strip-component=1 && \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
mv docker /usr/local/bin
|
||||||
&& 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
|
|
||||||
COPY dive /usr/local/bin/
|
COPY dive /usr/local/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/dive"]
|
ENTRYPOINT ["/usr/local/bin/dive"]
|
||||||
|
12
README.md
12
README.md
@ -82,14 +82,14 @@ With valid `source` options as such:
|
|||||||
|
|
||||||
**Ubuntu/Debian**
|
**Ubuntu/Debian**
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/wagoodman/dive/releases/download/v0.9.0/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.0_linux_amd64.deb
|
sudo apt install ./dive_0.9.1_linux_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
**RHEL/Centos**
|
**RHEL/Centos**
|
||||||
```bash
|
```bash
|
||||||
curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.0/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.0_linux_amd64.rpm
|
rpm -i dive_0.9.1_linux_amd64.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
**Arch Linux**
|
**Arch Linux**
|
||||||
@ -108,11 +108,11 @@ The above example assumes [`yay`](https://aur.archlinux.org/packages/yay/) as th
|
|||||||
brew install dive
|
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**
|
**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**
|
**Go tools**
|
||||||
Requires Go version 1.9 or higher.
|
Requires Go version 1.9 or higher.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user