diff --git a/build/bot/Dockerfile.ppa b/build/bot/Dockerfile.ppa index 2f9c5e5891..0c10420161 100644 --- a/build/bot/Dockerfile.ppa +++ b/build/bot/Dockerfile.ppa @@ -17,3 +17,8 @@ RUN git config --global --add safe.directory /source ENV GOPATH=/cache/go ENV GOCACHE=/cache/go/cache ENV GOMODCACHE=/cache/go/modcache + +# Some tools need HOME, create it in /tmp because that's the only location the build +# user can write to outside of /source and /cache. +RUN mkdir /tmp/home && chmod 777 /tmp/home +ENV HOME=/tmp/home