Git Product home page Git Product 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. Run the ./prep-docker-brew-branch.sh script, this will create a "stage" directory. This requires the koji and tar packages to be installed on the machine where you run this.

    To run to script, pass in the version number of the Fedora release you're targeting.

./prep-docker-brew-branch.sh 26

At the end of the script you will see something similar to:

COMPLETED
=> Working dir: /tmp/tmp.Jckt4DUhIM/workspace
=> Temp dir: /tmp/tmp.Jckt4DUhIM
=> Update: 20170912
  1. Make sure that the result of the previous is correct, it should look like the following:
$ tree /tmp/tmp.Jckt4DUhIM/workspace
/tmp/tmp.Jckt4DUhIM/workspace
├── aarch64
│   ├── Dockerfile
│   └── fedora-26-aarch64-20170912.tar.xz
├── armhfp
│   ├── Dockerfile
│   └── fedora-26-armhfp-20170912.tar.xz
├── ppc64le
│   ├── Dockerfile
│   └── fedora-26-ppc64le-20170912.tar.xz
└── x86_64
    ├── Dockerfile
    └── fedora-26-x86_64-20170912.tar.xz

    4 directories, 8 files
  1. 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

# The value of work_dir comes from the previous output of the
# ./prep-docker-brew-branch.sh script in Step 1
$ work_dir=/tmp/tmp.Jckt4DUhIM/workspace

$ git checkout master

$ git branch -D 26

$ git checkout --orphan 26

$ git rm --cached -r .

$ rm -fr ./*

## Move in the files from your working dir

$ mv ${work_dir}/* .

$ git add .

$ git commit -m "Update fedora 26 - 20170912"
[26 (root-commit) c726745] add multi-arch for fedora 26
 8 files changed, 24 insertions(+)
 create mode 100644 aarch64/Dockerfile
 create mode 100644 aarch64/fedora-26-aarch64-20170915.tar.xz
 create mode 100644 armhfp/Dockerfile
 create mode 100644 armhfp/fedora-26-armhfp-20170915.tar.xz
 create mode 100644 ppc64le/Dockerfile
 create mode 100644 ppc64le/fedora-26-ppc64le-20170915.tar.xz
 create mode 100644 x86_64/Dockerfile
 create mode 100644 x86_64/fedora-26-x86_64-20170915.tar.xz


$ git push -f origin 26
  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

cverna avatar jperrin avatar maxamillion avatar msekletar avatar puiterwijk avatar

Watchers

 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.