Skip to content

Commit

Permalink
include composer autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Oct 27, 2023
1 parent 1db7dd7 commit e0e7405
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/Dockerfile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RUN set -xe \
shadow \
sudo \
bash \
bash-completion \
ncurses \
make \
icu \
Expand Down Expand Up @@ -97,8 +98,13 @@ RUN set -xe \
&& chown docker:docker -R /var/log/php \
&& chmod 774 -R /var/log/php \
\
&& echo ". /usr/share/bash-completion/bash_completion" >> /home/docker/.bashrc \
\
&& mkdir /home/docker/.composer \
&& chown docker:docker -R /home/docker/.composer
&& wget -O /home/docker/composer-autocomplete https://raw.githubusercontent.com/bramus/composer-autocomplete/master/composer-autocomplete \
&& echo ". ~/composer-autocomplete" >> /home/docker/.bashrc \
\
&& chown docker:docker -R /home/docker

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

Expand Down

0 comments on commit e0e7405

Please sign in to comment.