GithubHelp home page GithubHelp logo

docker's Introduction

Docker repository, for poco builds in docker containers.

Prerequisites:

  • docker
  • docker-compose

Usage example:

./configure --minimal --config=Linux-clang --compiler-version=4.0 --branch=develop
Configured for Linux-clang
./run

Configure works in a similar fashion like the POCO configure script (in fact, it is a modified/extended version thereof). Curently, only gcc and clang on linux are supported.

The above commands will emit proper config.make and config.build files, then run the build inside a ubuntu-based container.

Output from the build can be viewed in two ways:

  1. docker logs -f [container_id]
  2. tail -F out/poco-develop-clang-4.0-Linux-clang.build.out

Docker logs will, obviously, be destroyed when the container is destroyed. The logs in ./out directory, will however, persist.

Source code is checked from github (into ./src directory on the host filesystem), switched to indicated branch (develop is default) prior to buiding and runing tests.

Once created, container can be stopped/started/restarted/destroyed.:

./run [start|stop|restart|down]

Container can also be prevented from exiting after all is done, so it is possible to exec into it and try various things:

docker exec -it [container_id] bash

docker's People

Contributors

aleks-f avatar

Stargazers

 avatar

Watchers

Günter Obiltschnig avatar Joerg-Christian Boehme avatar James Cloos avatar Aleksandar Fabijanic avatar Franky Braem avatar Andrew avatar Francis ANDRE 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.