mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Docker > use project-related binaries globally
This commit is contained in:
@@ -5,3 +5,4 @@ Common and useful classes, methods, exceptions etc.
|
||||
|
||||
1. Add this changelog
|
||||
2. Reorganize documentation & update [Readme](README.md)
|
||||
3. Docker > use project-related binaries globally
|
||||
|
||||
@@ -121,5 +121,9 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
||||
#
|
||||
RUN sed -i 's/^# export/export/g; \
|
||||
s/^# alias/alias/g;' ~/.bashrc \
|
||||
&& echo "\n"'export PATH=/project/vendor/bin:$PATH'"\n" >> ~/.bashrc \
|
||||
&& echo 'COLUMNS=200'"\n" >> ~/.bashrc
|
||||
|
||||
#
|
||||
# Use project-related binaries globally
|
||||
#
|
||||
ENV PATH="/project/vendor/bin:${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user