Skip to content

Commit

Permalink
automation/build: update stretch-i386 dockerfile
Browse files Browse the repository at this point in the history
We don't need to specify /bin/bash in the entry point rune, otherwise
non-interactive invocation of the container would fail with something
like:

+ C=debian:stretch-i386
+ export CONTAINER=registry.gitlab.com/xen-project/xen/debian:stretch-i386
+ CONTAINER=registry.gitlab.com/xen-project/xen/debian:stretch-i386
+ cd /local/work/COMMITTER/xen-32.git
+ git fetch origin
+ con git reset --hard origin/staging
*** Ensuring registry.gitlab.com/xen-project/xen/debian:stretch-i386 is up to date
*** Launching container ...
/usr/bin/git: /usr/bin/git: cannot execute binary file

While at it, use shorthand "linux32".

Signed-off-by: Wei Liu <[email protected]>
Acked-by: Doug Goldstein <[email protected]>
  • Loading branch information
Wei Liu committed Jul 13, 2018
1 parent 41cb2db commit c6dd998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/build/debian/stretch-i386.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV USER root
RUN mkdir /build
WORKDIR /build

ENTRYPOINT ["/usr/bin/setarch", "i686", "/bin/bash"]
ENTRYPOINT ["linux32"]

# build depends
RUN apt-get update && \
Expand Down

0 comments on commit c6dd998

Please sign in to comment.