diff --git a/debian/Dockerfile b/debian/Dockerfile index a0721b3..4ce307d 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -18,5 +18,11 @@ RUN mkdir -p /home/regolith/.gnupg/ && \ chown -R regolith /home/regolith/.gnupg/ && \ chmod 700 /home/regolith/.gnupg +RUN mkdir -p /build/ && \ + mkdir -p /build/buildlog/ && \ + mkdir -p /build/publish/ && \ + mkdir -p /build/workspace/ && \ + chown -R regolith /build/ + USER regolith WORKDIR /build diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index ab14460..e4056f2 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -19,5 +19,11 @@ RUN mkdir -p /home/regolith/.gnupg/ && \ chown -R regolith /home/regolith/.gnupg/ && \ chmod 700 /home/regolith/.gnupg +RUN mkdir -p /build/ && \ + mkdir -p /build/buildlog/ && \ + mkdir -p /build/publish/ && \ + mkdir -p /build/workspace/ && \ + chown -R regolith /build/ + USER regolith WORKDIR /build