/pazuzu-registry

A feature registry for customized Docker images

Primary LanguageJavaMIT LicenseMIT

pazuzu-registry


Build Status Codacy Badge Codacy Badge Stories in Ready

What is Pazuzu?

Pazuzu is a tool that builds Docker images from feature snippets, while resolving all dependencies between them. One of the common use cases is Continuous Integration environment, where jobs require specific tooling present for building and testing. Pazuzu can significantly ease that process, by letting user choose from a wide selection of predefined Dockerfile snippets that represent those dependencies (e.g. Golang, Python, Android SDK, customized NPM installs).

What is Pazuzu Registry?

Pazuzu Registry is a central storage of features, together with their dependencies and test cases. You can access it by command line and request your custom Dockerfile which you can pipe to Docker build command.

What is current stage?

Project is still in early stages - this file will be updated to reflect the progress and document usage and functionality

How to start the server locally (without OAuth)

mvn clean install
java -jar target/pazuzu-registry.jar --spring.profiles.active=dev

How to setup OSX environment

  • Install docker toolbox
  • docker-machine start
  • docker-machine env default
  • eval or export result of env command to your .bashrc or .zshrc
  • brew install python3 # in case if you have no python installed
  • sudo pip3 install --upgrade scm-source
  • run scm_source

How a start the server locally in a container with Postgres storage

docker-compose up -d

OSX devs : Note your host ip is on DOCKER_HOST env variable How to build Docker image for Stups infrastructure (Zalando related)

scm-source
docker build --tag <pierone_related_address>

License

The MIT License (MIT) Copyright © 2016 Zalando SE, https://tech.zalando.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.