Using Fedora 25 Beta in Docker for LightBuildServer   October 14th, 2016

For the LightBuildServer (LBS) I want to run some of my nightly builds already against Fedora 25 Beta, to see if I need to fix anything in the Mono packages for Fedora.

But there is no Beta image for Fedora 25 available at Docker Hub: https://hub.docker.com/_/fedora/

But here you can find an image for Fedora 25 Beta: https://getfedora.org/fi/cloud/prerelease/docker.html

So I download the image, and load the image like this:

cd /var/lib/docker
wget https://download.fedoraproject.org/pub/fedora/linux/releases/test/25_Beta/Docker/x86_64/images/Fedora-Docker-Base-25_Beta-1.1.x86_64.tar.xz
docker load -i /var/lib/docker/Fedora-Docker-Base-25_Beta-1.1.x86_64.tar.xz

You can see the image listed, when typing docker images:

REPOSITORY                                 TAG                 IMAGE ID            CREATED             SIZE
fedora-docker-base-25_beta-1.1.x86_64      latest              a85629813141        8 days ago          197.8 MB

Now I can reference it in my Dockerfile like this:

FROM fedora-docker-base-25_beta-1.1.x86_64:latest

Make sure to use the image name in lower case.

Tags: , ,
This entry was posted on Friday, October 14th, 2016 at 6:11 am and is filed under Hosting, Software Development. You can follow any responses to this entry through the RSS 2.0 feed.Both comments and pings are currently closed.

No Responses