diff --git a/build b/build index 77ebbde..cee0644 100755 --- a/build +++ b/build @@ -59,7 +59,7 @@ main() ( rm ../orig.tar sudo apt-get build-dep --no-install-recommends -y . - dpkg-buildpackage --no-sign + DEB_BUILD_OPTIONS="terse ${DEB_BUILD_OPTIONS-}" dpkg-buildpackage --no-sign cd .. rm -rf src diff --git a/build.containerfile b/build.containerfile index 8ace450..986e82d 100644 --- a/build.containerfile +++ b/build.containerfile @@ -18,5 +18,6 @@ COPY build /usr/local/bin/ RUN find /tmp -mindepth 1 -delete COPY --from=mini_sudo /usr/local/bin/sudo /usr/local/bin/sudo RUN groupadd dev && useradd -m -g dev dev +RUN mkdir /work && chown dev:dev /work USER dev -WORKDIR /home/dev +WORKDIR /work diff --git a/crossbuild.containerfile b/crossbuild.containerfile index 83b119b..40dfc66 100644 --- a/crossbuild.containerfile +++ b/crossbuild.containerfile @@ -30,5 +30,6 @@ COPY build /usr/local/bin/ RUN find /tmp -mindepth 1 -delete COPY --from=mini_sudo /usr/local/bin/sudo /usr/local/bin/sudo RUN groupadd dev && useradd -m -g dev dev +RUN mkdir /work && chown dev:dev /work USER dev -WORKDIR /home/dev +WORKDIR /work