define HOME in ppa container

This commit is contained in:
Felix Lange 2022-09-29 00:24:34 +02:00
parent 33be0abec2
commit 51b6733055
1 changed files with 5 additions and 0 deletions

View File

@ -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