aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/distribtest/python_jessie_x86/Dockerfile')
-rw-r--r--tools/dockerfile/distribtest/python_jessie_x86/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile b/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile
index 035d56b655..e9cf99142b 100644
--- a/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile
+++ b/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile
@@ -29,6 +29,9 @@
FROM 32bit/debian:jessie
-RUN apt-get update
-RUN apt-get install -y git python python-pip
+RUN apt-get update && apt-get install -y python python-pip
+# docker is running on a 64-bit machine, so we need to
+# override "uname -m" to report i686 instead of x86_64, otherwise
+# python will choose a wrong binary package to install.
+ENTRYPOINT ["linux32"]