Skip to content

Commit

Permalink
Merge pull request #33 from theohbrothers/fix/fix-missing-docker-bash…
Browse files Browse the repository at this point in the history
…-completion-in-docker-variants

Fix: Fix missing `docker` bash completion in `docker` variants
  • Loading branch information
leojonathanoh authored Jan 14, 2023
2 parents 39dd256 + a15e02d commit ec2dfda
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v$DOCKER_VERSION/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.6.1-docker-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.6.1-docker-rootless-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.7.1-docker-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.7.1-docker-rootless-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.8.3-docker-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.8.3-docker-rootless-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.9.1-docker-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down
2 changes: 2 additions & 0 deletions variants/v4.9.1-docker-rootless-alpine-3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ RUN set -eux; \
docker --version; \
dockerd --version; \
runc --version
# Install bash completion
RUN wget -q https://raw.githubusercontent.com/docker/cli/v20.10.22/contrib/completion/bash/docker -O /usr/share/bash-completion/completions/docker
# Post-install docker. See: https://docs.docker.com/engine/install/linux-postinstall/
RUN set -eux; \
addgroup docker; \
Expand Down

0 comments on commit ec2dfda

Please sign in to comment.