Skip to content

Commit

Permalink
Optimize installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs authored Nov 20, 2024
1 parent f3f8d93 commit cf22327
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ RUN mv -f "${DOCKER_PATH}" "${DOCKER_PATH}.orig"

# Install dond-shim at the same path as the original docker cli
ARG DOND_SHIM_VERSION="0.7.1"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOCKER_PATH}"
RUN chmod 755 "${DOCKER_PATH}"
ADD --chmod=755 "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOCKER_PATH}"
```

### As `dond`
Expand All @@ -84,8 +83,7 @@ RUN apk add --no-cache bash
# Install dond-shim to /usr/local/bin/dond
ARG DOND_SHIM_VERSION="0.7.1"
ARG DOND_SHIM_PATH="/usr/local/bin/dond"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOND_SHIM_PATH}"
RUN chmod 755 "${DOND_SHIM_PATH}"
ADD --chmod=755 "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOND_SHIM_PATH}" "${DOND_SHIM_PATH}"
```

## Docker Compose
Expand Down

0 comments on commit cf22327

Please sign in to comment.