Skip to contentSkip to conversation

automation/build: update stretck-i386 dockerfile

PATCH In review Wei Liu 2 participants 4 messages Jul 12, 2018 – Jul 13, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 automation/build: update stretck-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".

---
 automation/build/debian/stretch-i386.dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
automation/build/debian/stretch-i386.dockerfile +1 -1
index ec37a5fbf8..65247a474e 100644
@@ -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 && \
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Wei Liu

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

Quoted 4 lines

While at it, use shorthand "linux32".

---

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 15 lines · Doug Goldstein
Quoted 14 lines · Wei Liu

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

Quoted 6 lines
Quoted 4 lines

While at it, use shorthand "linux32".

---

Oh I forgot to note that there's a typo in the subject but that can just be fixed while committing.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

author
#3 lore raw
Quoted 18 lines · Doug Goldstein
Quoted 17 lines · Doug Goldstein
Quoted 16 lines · Wei Liu

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".

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

---

Oh I forgot to note that there's a typo in the subject but that can just be fixed while committing.

Thanks for the reminder. Fixed and applied.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel