GithubHelp home page GithubHelp logo

darkstar-dev's Introduction

Dockerized Darkstar Linux build environment

This Docker image was created to make a reproducible ubuntu 14.04(Trusty) build environment for the Darkstar project.

This image contains a volume at /source which needs to be mapped to a darkstar git clone : ie. cd /home/user; git clone https://github.com/DarkstarProject/darkstar.git, and then /source would need to be mapped to /home/user/darkstar to build the freshly cloned repository.

I am hoping that contributing this will avoid the pain of setting a build environment for other people.

Step by step example usage

Considering a fresh install of ubuntu 14.04 and Docker isn't yet installed, these steps would be followed to build Darkstar:

  • Install docker (Might need massaging on a VPS...):
sudo apt-get update
sudo apt-get install wget
wget -qO- https://get.docker.com/ | sh
  • Verify that docker is properly installed:
sudo docker info
  • Compile Darkstar using the darkstar-dev Docker image
cd /home/user/workdir
mkdir output
git clone https://github.com/DarkstarProject/darkstar.git
./compile.sh /home/user/workdir/darkstar

The compile.sh script will compile darkstar from within a temporary Docker container. Once it is done compiling, the result will remain in /home/user/workdir/darkstar. To develop, you simply have to point your favorite IDE to /home/user/workdir/darkstar, and whenever you need to build, launch compile.sh . Note that the first time Docker will need to pull lots of stuff and this will take time. Once the first compile is done, the next ones will be much faster.

  • Produce a build using the darkstar-dev Docker image
cd /home/user/workdir
mkdir output
git clone https://github.com/DarkstarProject/darkstar.git
./build.sh /home/user/workdir/darkstar /home/user/workdir/output

darkstar-dev's People

Stargazers

 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.