mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Enable bash completion in development container
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
d311a3a681
commit
cec5ca75e1
1 changed files with 2 additions and 1 deletions
|
@ -217,7 +217,8 @@ COPY hack/dockerfile/install-binaries.sh /tmp/install-binaries.sh
|
|||
RUN /tmp/install-binaries.sh tomlv vndr runc containerd tini proxy dockercli
|
||||
ENV PATH=/usr/local/cli:$PATH
|
||||
|
||||
# Activate bash completion if mounted with DOCKER_BASH_COMPLETION_PATH
|
||||
# Activate bash completion and include Docker's completion if mounted with DOCKER_BASH_COMPLETION_PATH
|
||||
RUN echo "source /usr/share/bash-completion/bash_completion" >> /etc/bash.bashrc
|
||||
RUN ln -s /usr/local/completion/bash/docker /etc/bash_completion.d/docker
|
||||
|
||||
# Wrap all commands in the "docker-in-docker" script to allow nested containers
|
||||
|
|
Loading…
Reference in a new issue