From Fedora Project Wiki

Automated Build of Cockpit Web Service Container

Summary

The Cockpit Web Service is a privileged container used on operating systems that do not allow packages to be installed, such as Fedora Atomic. Such a Fedora based privileged container has been available at the Docker Hub. This change proposes that Fedora infrastructure is used to build the container instead.

Owner

  • Name: Stef Walter
  • Email: stefw@redhat.com
  • Product: Fedora Atomic
  • Responsible WG: Cloud

Current status

Detailed Description

The Cockpit Web Service is a privileged container used on operating systems that do not allow packages to be installed, such as Fedora Atomic. Such a Fedora based privileged container has been available at the Docker Hub. This change proposes that Fedora infrastructure is used to build the container instead.

This depends heavily on: https://fedoraproject.org/wiki/Changes/Layered_Docker_Image_Build_Service

It is important that such build infrastructure allows automated builds (as the Docker Hub does), to prevent unnecessary work in a volunteer based community. These automated builds could be driven off of koji build notifications or bodhi updates.

Benefit to Fedora

Fedora gets to host its own content. There does not seem to be any other benefit.

Scope

  • Proposal owners: Stef Walter
  • Release engineering: Dennis Gilmore
  • Policies and guidelines: <Not sure, perhaps a policy that parts of Fedora are built by Fedora?>

Upgrade/compatibility impact

The container built at the Docker Hub can be replaced by the one built by Fedora.

How To Test

  1. atomic run whatever-the-image-repo.is.fedoraproject.org/cockpit/ws

User Experience

Very small user experience change: The URL used to install Cockpit Web Service container.

Dependencies

This change depends on https://fedoraproject.org/wiki/Changes/Layered_Docker_Image_Build_Service being able to provide *automated* Docker image builds.

Contingency Plan

Continue to use the container at the Docker hub.

Documentation

The eventual Fedora image repository URL needs to be documented.

Release Notes

The eventual Fedora image repository URL should be in the release notes.