Skip to content

Commit

Permalink
Rename shim to dond (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs authored Jun 17, 2023
1 parent 6736084 commit a336118
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk add --no-cache bash
# Install dond-shim
ARG DOCKER_PATH="/usr/local/bin/docker"
RUN mv -f "${DOCKER_PATH}" "${DOCKER_PATH}.orig"
COPY docker "${DOCKER_PATH}"
COPY dond "${DOCKER_PATH}"

FROM dond-shim AS test

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ ARG DOCKER_PATH="/usr/local/bin/docker"
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.5.0"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/docker" "${DOCKER_PATH}"
ARG DOND_SHIM_VERSION="0.6.0"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOCKER_PATH}"
RUN chmod +x "${DOCKER_PATH}"
```

Expand All @@ -82,8 +82,8 @@ FROM docker:latest
RUN apk add --no-cache bash

# Install dond-shim to /usr/local/bin/dond
ARG DOND_SHIM_VERSION="0.5.0"
ARG DOND_SHIM_VERSION="0.6.0"
ARG DOND_SHIM_PATH="/usr/local/bin/dond"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/docker" "${DOND_SHIM_PATH}"
ADD "https://github.com/felipecrs/docker-on-docker-shim/raw/v${DOND_SHIM_VERSION}/dond" "${DOND_SHIM_PATH}"
RUN chmod +x "${DOND_SHIM_PATH}"
```
File renamed without changes.

0 comments on commit a336118

Please sign in to comment.