From b21ca8d1bf785ecc351a51defc6ee3dbc1d2aec7 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Tue, 11 Aug 2020 16:09:44 +0300 Subject: [PATCH] Add file to the image correctly --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb06ba0..e8b1859 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,9 +59,9 @@ COPY assets/supervisord.web.conf /etc/supervisor/conf.d/web.conf # Install scripts COPY assets/*.sh /opt/ -RUN wget https://raw.githubusercontent.com/aptly-dev/aptly/v1.4.0/completion.d/aptly \ - -O /usr/share/bash-completion/completions/aptly 2>/dev/stdout \ - && echo "if ! shopt -oq posix; then\n\ +ADD https://raw.githubusercontent.com/aptly-dev/aptly/v1.4.0/completion.d/aptly /usr/share/bash-completion/completions/aptly + +RUN echo "if ! shopt -oq posix; then\n\ if [ -f /usr/share/bash-completion/bash_completion ]; then\n\ . /usr/share/bash-completion/bash_completion\n\ elif [ -f /etc/bash_completion ]; then\n\