This dockerfile creates a centos 7 32 bits image.
--
- Create the image
git clone https://github.com/nunofernandes/docker-centos7-32bits-scratch
cd docker-centos7-32bits-scratch
docker build -t centos7-32-build .
docker run -it --privileged --name=centos7-32-run centos7-32-build
docker export centos7-32-run | tar xv tmp/centos7*bz2
cd ..
- Create a usable centos 7 32 bits image
git clone https://github.com/nunofernandes/docker-centos7-32bits
cd docker-centos7-32bits
mv ../docker-centos7-32bits-scratch/tmp/centos7-*bz2 .
docker build -t centos7-32 .
cd ..
- Run the image
$ docker run -ti centos7-32 /bin/bash
[root@6d0a00ff6362 /]# uname -m
i686
[root@6d0a00ff6362 /]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (AltArch)
[root@6d0a00ff6362 /]# rpm -qf /bin/bash
bash-4.2.46-19.el7.i686
This code is licensed under the GPLv2.