From c6ea39eb6613a9b0021698add974eb55e5e6bea3 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Mon, 17 Aug 2020 14:37:32 +0200 Subject: [PATCH] Docker: use /tmp/buildlogs directory for autotests --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index a0620d460f..853612393f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*