Giter VIP home page Giter VIP logo

docker-brew-alt's Introduction

docker-brew-alt

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

These images are built as profile "docker" from a mkimage-profiles that is part of the sub-project of BaseALT. If there is an issue or request for a change to the contents of the ALT Docker Base Image, please file an bug.

Docker Base Image Build process

  1. Prepare build system:

    1. Install ALT Linux.
    2. Install hasher and mkimage apt-get install hasher mkimage
    3. Install livecd-qemu-arch and qemu-user-static for cross-build for aarch64. apt-get install livecd-qemu-arch qemu-user-static Run (after every reboot) register-qemu-aarch64 for register aarch64 in binfmt.
    4. Add non-root user for hasher. hasher-useradd joe
  2. Run the ./prep-docker-brew-branch.sh script as non-root user, this will build a new base image.

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

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

21:15:56 (1:31) $TMP/tmp.e3Mw8oMhta/workspace/out/docker-20180522-i586.tar.xz [24M]
** graphviz missing, target graph dot file: build/targets.dot
** diffable log: build/reports/cleanlog.log
21:17:24 (1:27) $TMP/tmp.e3Mw8oMhta/workspace/out/docker-20180522-x86_64.tar.xz [24M]
** graphviz missing, target graph dot file: build/targets.dot
** diffable log: build/reports/cleanlog.log
21:21:21 (3:56) $TMP/tmp.e3Mw8oMhta/workspace/out/docker-20180522-aarch64.tar.xz [23M]
** graphviz missing, target graph dot file: build/targets.dot
** diffable log: build/reports/cleanlog.log
  1. Make sure that the result of the previous is correct, it should look like the following:
$ git show --stat p8
commit a3fd4f897bda9424ac515dccfc33c0a46da96a64
Author: Mikhail Gordeev <[email protected]>
Date:   17 hours ago

    Update altlinux p8 - 20180814

 i586/Dockerfile                      |  10 ++++++++++
 i586/alt-p8-i586-20180814.tar.xz     | Bin 0 -> 23896040 bytes
 x86_64/Dockerfile                    |  10 ++++++++++
 x86_64/alt-p8-x86_64-20180814.tar.xz | Bin 0 -> 24017716 bytes
 4 files changed, 20 insertions(+)
  1. Force push to alt-cloud/docker-brew-alt on github in order to overwrite history so we aren’t storing giant piles of tarballs in git.
$ git push -f origin p8
  1. Record commit logs of the updates here

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

docker-brew-alt's People

Contributors

obirvalger avatar shaba avatar

Watchers

 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.