Skip to content

Commit

Permalink
change workdir to /work
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar committed Sep 18, 2023
1 parent 42aa339 commit b0df622
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion build.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ 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
USER dev
WORKDIR /home/dev
RUN mkdir /home/dev/work
WORKDIR /home/dev/work
3 changes: 2 additions & 1 deletion crossbuild.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ 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
USER dev
WORKDIR /home/dev
RUN mkdir /home/dev/work
WORKDIR /home/dev/work

0 comments on commit b0df622

Please sign in to comment.