Skip to content

Commit

Permalink
Docker: use /tmp/buildlogs directory for autotests
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr authored and peterbarker committed Aug 20, 2020
1 parent 8dcb973 commit c6ea39e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ RUN echo "alias waf=\"/ardupilot/waf\"" >> ~/.bashrc
# 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" >> ~/.bashrc

# Set the buildlogs directory into /tmp as other directory aren't accessible
ENV BUILDLOGS=/tmp/buildlogs

# Cleanup
RUN DEBIAN_FRONTEND=noninteractive sudo apt-get clean \
&& sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down

0 comments on commit c6ea39e

Please sign in to comment.