Skip to content

Commit

Permalink
Add file to the image correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
urpylka committed Aug 11, 2020
1 parent 19d1b22 commit b21ca8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit b21ca8d

Please sign in to comment.