Dockerfiles: source container bash completion

This commit is contained in:
2024-08-03 19:32:17 -07:00
parent 7f86b6a250
commit 646ca3af85
2 changed files with 4 additions and 2 deletions

View File

@@ -78,11 +78,12 @@ RUN composer require ozdemirburak/json-csv
RUN composer require ccxt/ccxt
#
# Superscript
# Shell environment
#
USER @DOCKER_FINANCE_USER@
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bashrc
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/completion.bash\"" | tee -a ~/.bashrc
#
# Entrypoint

View File

@@ -82,11 +82,12 @@ RUN composer require ozdemirburak/json-csv
RUN composer require ccxt/ccxt
#
# Superscript
# Shell environment
#
USER @DOCKER_FINANCE_USER@
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_CONF}/shell/superscript.bash\"" | tee -a ~/.bash_aliases
RUN echo "source \"\${DOCKER_FINANCE_CONTAINER_REPO}/src/finance/completion.bash\"" | tee -a ~/.bash_aliases
#
# Entrypoint