Code Monkey home page Code Monkey logo

pnda-package-server-docker's Introduction

PNDA Package Server Docker

This is a fork of the pnda package server repository. The build scripts are split into smaller unit, one for each component to build. The build is achieved through a docker image environment which contains every package required.

Requirements

The scripts are designed to run inside a Docker container. See the instructions for installing Docker.

The scripts were tested using a host machine running Ubuntu

  1. 14.04 LTS with 8 GB of memory & Docker version 1.8.3
  2. 16.04 LTS with 10 GB of memory & Docker version 1.12.1, build 23cf638

The scripts may work in other UNIX environments as well. See the Questions & Answers site for further information.

## Running the package server

You can use the resources from /env to start a package server. Configuration management is achieved through Salt so you have the option to reuse the Salt recipes, to use vagrant to deploy it on Virtual Box or to use terraform to deploy on openstack (more cloud provider might be supported in the future).

In addition to the package server those scripts will also install a jenkins instance and a docker image registry on the target machine.

Building the packages

You need to have a package server up and running prior to start the build process.

To build a single package use the build.sh script:

$ ./build.sh <script name> <ip pacakge server>

Where the first parameter is the name of the script in the build.d directory and the second parameter is the ip address of the packae server. For example:

$ ./build.sh platform_console_backend 127.0.0.1

Package server is expected to listen on :3535.

You can also use build_all.sh script which will run every script in build.d, it only requires the package server ip as parameter.

pnda-package-server-docker's People

Contributors

pndacicd avatar jgarnier 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.