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 298b52b
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 @@ -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
3 changes: 2 additions & 1 deletion crossbuild.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 298b52b

Please sign in to comment.