blob: f28e196c8aff0f3a013cee33172f01015f49a693 (plain
Cloned from https://github.com/moby/moby/tree/master/contrib/mkimage-arch.sh
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` (Note: it shows `i686` for `i686` and `pentium4`,
also note that a docker chroot doesn't emulate CPU flags like SSE/SSE2 in