summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-10-11 15:08:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-10-11 15:08:00 +0200
commit88fd7174eaefdce1fc92c95cba29f1daa327e5f4 (patch)
tree92792a1c566815315d1c258f6cf7294706be6ab4 /README.md
parentd8424a037c7149616097dbf9aba9c25ad2bd35b0 (diff)
downloaddocker-88fd7174eaefdce1fc92c95cba29f1daa327e5f4.tar.xz
added support to set the ARCHITECTURE in mkimage-arch.sh
adapted to changes upstream (base package requires some more minimal packages)
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 539c6ec..f28e196 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,17 @@
# docker
-Cloned from https://github.com/moby/moby/tree/master/contrib
+Cloned from https://github.com/moby/moby/tree/master/contrib/mkimage-arch.sh
# usage
+Choose an ARCHITECTURE in `mkimage-arch.sh` and set the corresponding
+variable on top (for all practical purposes this should be 'pentium4').
+
Run `mkimage-arch.sh` builds a docker image named `archlinux32`
using `i686` architecture packages.
Run `uname -m` in the shell started with
`docker run -it archlinux32 /usr/bin/linux32 /bin/bash` indeed
-shows `i686`.
-
+shows `i686` (Note: it shows `i686` for `i686` and `pentium4`,
+also note that a docker chroot doesn't emulate CPU flags like SSE/SSE2 in
+`/proc/cpuinfo`!).