Coder Social home page Coder Social logo

build-onie's Introduction

build-onie

This Dockerfile creates a Debian build environment for ONIE. It also clarifies how Docker could be used in a build workflow.

  • It has not been tested yet. I will revisit this image upon a return to the ONIE build process.
  • A user called build is used after creating the build directory.

Steps:

Build the image using Docker.

  • You might use a command similar to docker build -t debian:onie_build .

Run a container using this image.

  • You might use docker run -it --name debian debian:onie_build

Determine and create a build directory.

  • You might consider using /mnt/build

Give ownership of this directory to the build user, then su into the build user.

  • chown build:build /mnt/build && su build

Use Git to clone the ONIE repository to a build directory.

  • cd /mnt/build && git clone https://github.com/opencomputeproject/onie
  • I used Docker to mount an external HDD partition, connected to my host machine. This was mounted within the container as the build directory.

You should now be able to follow the build steps from the ONIE repository.

  • For a KVM build: cd build-config && make -j2 MACHINE=kvm_x86_64 all recovery-iso

build-onie's People

Contributors

bluejumper 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.