Giter VIP home page Giter VIP logo

docker-brew-fedora's Introduction

docker-brew-fedora

This project space exists as an upload entry point to import the official Fedora Docker Base Images built in Fedora Koji (Fedora's Build System) so that they may be submitted to the official-images repository for the Docker Hub.

These images are built from a kickstart file that is part of the Fedora kickstarts sub-project of Fedora. If there is an issue or request for a change to the contents of the Fedora Docker Base Image, please file an bug.

Docker Base Image Import process

  1. Extract the rootfs from the koji tarballs that Fedora Release-Engineering provides.
# EXAMPLE:

$ tar -xvJf Fedora-Docker-Base-rawhide-20150716.x86_64.tar.xz
e7dac1f802a53315e8d8b719d3ff2bea8e65026674a67cf631d1ea3f5244756b/
e7dac1f802a53315e8d8b719d3ff2bea8e65026674a67cf631d1ea3f5244756b/json
e7dac1f802a53315e8d8b719d3ff2bea8e65026674a67cf631d1ea3f5244756b/VERSION
e7dac1f802a53315e8d8b719d3ff2bea8e65026674a67cf631d1ea3f5244756b/layer.tar
repositories
  1. Re-name the layer.tar to something meaningful, example fedora-${release}-release. This is needed because Docker Hub only takes tarballs of the rootfs while the koji tarball has the rootfs along with metadata.
# EXAMPLE:

$ mv layer.tar fedora-rawhide-20150716.tar

$ xz --best fedora-rawhide-20150716.tar
  1. Add the xz compressed tarball in step 2 along with the kickstart script used to the appropriate branch in this repo. (Update the Dockerfile if the tar.xz filename changed or otherwise necessary)

  2. Force push to fedora-cloud/docker-brew-fedora on github in order to overwrite history so we aren’t storing giant piles of tarballs in git.

# EXAMPLE

$ git checkout master

$ git branch -D rawhide

$ git checkout --orphan rawhide

$ git rm --cached -r .

$ rm -fr ./*

## Copy in the files from your working dir

$ git add .

$ git commit -m “update rawhide - 20150716”
[rawhide 4aa1a9e] update rawhide - 20150716
 Date: Mon Jul 20 15:25:00 2015 -0500
 4 files changed, 92 insertions(+)
 create mode 100644 Dockerfile
 create mode 100644 README.md
 create mode 100644 fedora-rawhide-20150716.tar.xz
 create mode 100644 koji-f24-build-10384746-base.ks

$ git push -f origin rawhide
  1. Record commit logs of the updates here

  2. Send a Pull Request from fedora-cloud/official-images to docker-library/official-images

docker-brew-fedora's People

Contributors

maxamillion avatar

Watchers

James Cloos avatar Eli Uriegas avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.