docker: remove "waf" alias

It was difficult to use the alias, since aliases aren't inherited by
subshells, so the only way is to run `source ~/.ardpuilot_env` again
inside the container, which doesn't seem worth it to avoid a couple of
`./` which are in all of the documentation anyway.
This commit is contained in:
Alex Burka 2024-04-10 20:18:12 +00:00 committed by Randy Mackay
parent 1d810bfa6f
commit 26596484ed
1 changed files with 0 additions and 3 deletions

View File

@ -37,9 +37,6 @@ USER ${USER_NAME}
ENV SKIP_AP_EXT_ENV=$SKIP_AP_EXT_ENV SKIP_AP_GRAPHIC_ENV=$SKIP_AP_GRAPHIC_ENV SKIP_AP_COV_ENV=$SKIP_AP_COV_ENV SKIP_AP_GIT_CHECK=$SKIP_AP_GIT_CHECK
RUN Tools/environment_install/install-prereqs-ubuntu.sh -y
# add waf alias to ardupilot waf to .ardupilot_env
RUN echo "alias waf=\"/${USER_NAME}/waf\"" >> ~/.ardupilot_env
# Check that local/bin are in PATH for pip --user installed package
RUN echo "if [ -d \"\$HOME/.local/bin\" ] ; then\nPATH=\"\$HOME/.local/bin:\$PATH\"\nfi" >> ~/.ardupilot_env