[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] automation/build: update stretch-i386 dockerfile



commit c6dd998ec8866fafd8f1cb4ff73c52e1c21f2a00
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Fri Jul 13 08:05:54 2018 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Fri Jul 13 08:08:12 2018 +0100

    automation/build: update stretch-i386 dockerfile
    
    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 <wei.liu2@xxxxxxxxxx>
    Acked-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
 automation/build/debian/stretch-i386.dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/automation/build/debian/stretch-i386.dockerfile 
b/automation/build/debian/stretch-i386.dockerfile
index ec37a5fbf8..65247a474e 100644
--- a/automation/build/debian/stretch-i386.dockerfile
+++ b/automation/build/debian/stretch-i386.dockerfile
@@ -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 && \
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.