22, latest21First 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
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
Content type
Image
Digest
sha256:4f68e427a…
Size
-
Last updated
over 11 years ago
docker pull hugodby/fedora32