Public Repository

Last pushed: 2 years ago
Short Description
Images of fedora i386 / 32 bits
Full Description

Supported tags

  • 22, latest
  • 21

How to use

First you need to pull the image :

docker pull hugodby/fedora32:22

Then you can run it :

docker run -it hugodby/fedora32:22 bash

Or use it as a base image in a Dockerfile :

FROM hugodby/fedora32:22
RUN echo Really what you want...
CMD /bin/bash

How images are made

Official cloud images from fedora server are used.

wget http://mirror.its.dal.ca/pub/fedora/linux/releases/22/Cloud/i386/Images/Fedora-Cloud-Base-22-20150521.i386.qcow2
virt-tar-out -a Fedora-Cloud-Base-22-20150521.i386.qcow2 / - | docker import - fedora32_aux:22

Once the image created, .repo files are edited.

sed -i 's/$basearch/i386/g' /etc/yum.repos.d/*.repo

I added an entrypoint i386 because of some weird behavior with C++ compilation. So if you run docker run -it hugodby/fedora32:22 uname -a you will see i386.
Final Dockerfile looks like that :

FROM fedora32_aux:22

RUN sed -i 's/$basearch/i386/g' /etc/yum.repos.d/*.repo

ENTRYPOINT ["i386"]
CMD ["bash"]

Inspired from https://github.com/marina-lab/docker-fedora21-i386

Docker Pull Command
Owner
hugodby

Comments (0)