Application for building Atomicapps
Project description
Atomicapp Builder
=================
An application to build application images from [Nulecule](https://github.com/projectatomic/nulecule).
Usage:
```
atomicapp-builder build [-h] [--cccp-index CCCP_INDEX]
[--build-image BUILD_IMAGE]
[--docker-registry DOCKER_REGISTRY]
[--registry-insecure] [-q | -v]
PATH | cccp:<app-id>
positional arguments:
PATH | cccp:<app-id> Path to directory with Nulecule file to build or app id prefixed by "cccp:"
optional arguments:
-h, --help show this help message and exit
--cccp-index CCCP_INDEX
URI of raw cccp index file (can be file:// for local file), defaults to
https://raw.githubusercontent.com/kbsingh/cccp-index/master/index.yml
--build-image BUILD_IMAGE
Name of image that Dock should use to build images (defaults to "buildroot")
--docker-registry DOCKER_REGISTRY
URL of Docker registry to poll for existing images and
push built images to. Must be without http/https
scheme.
--registry-insecure If used, plain http will be used to connect to
registry instead of https
-q, --quiet Only output names of built images after build is done
-v, --verbose Print lots of debugging information
```
Requires `anymarkup`, `requests` and `dock`. You can get the first two just by typing
`pip install --user -r requirements.txt` and you can get `dock` from
https://github.com/DBuildService/dock. This also requires `dock`'s build image. You
can either get one by `docker pull slavek/buildroot` or build one yourself.
You can get stable versions from PyPI by using
```
pip install --user --process-dependency-links atomicapp-builder
```
Note: you *must* use `--process-dependency-links` so that pip installs the correct `dock` package.
=================
An application to build application images from [Nulecule](https://github.com/projectatomic/nulecule).
Usage:
```
atomicapp-builder build [-h] [--cccp-index CCCP_INDEX]
[--build-image BUILD_IMAGE]
[--docker-registry DOCKER_REGISTRY]
[--registry-insecure] [-q | -v]
PATH | cccp:<app-id>
positional arguments:
PATH | cccp:<app-id> Path to directory with Nulecule file to build or app id prefixed by "cccp:"
optional arguments:
-h, --help show this help message and exit
--cccp-index CCCP_INDEX
URI of raw cccp index file (can be file:// for local file), defaults to
https://raw.githubusercontent.com/kbsingh/cccp-index/master/index.yml
--build-image BUILD_IMAGE
Name of image that Dock should use to build images (defaults to "buildroot")
--docker-registry DOCKER_REGISTRY
URL of Docker registry to poll for existing images and
push built images to. Must be without http/https
scheme.
--registry-insecure If used, plain http will be used to connect to
registry instead of https
-q, --quiet Only output names of built images after build is done
-v, --verbose Print lots of debugging information
```
Requires `anymarkup`, `requests` and `dock`. You can get the first two just by typing
`pip install --user -r requirements.txt` and you can get `dock` from
https://github.com/DBuildService/dock. This also requires `dock`'s build image. You
can either get one by `docker pull slavek/buildroot` or build one yourself.
You can get stable versions from PyPI by using
```
pip install --user --process-dependency-links atomicapp-builder
```
Note: you *must* use `--process-dependency-links` so that pip installs the correct `dock` package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file atomicapp-builder-0.0.1.tar.gz
.
File metadata
- Download URL: atomicapp-builder-0.0.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0230f713322c13e461b74f38f24206cd75022faa7e9bc7d6b0de9e3cbffc16c6 |
|
MD5 | 4ebbbc0349573bfafd4896bb346d4aa3 |
|
BLAKE2b-256 | 0f26d94c7719fcde7bd8933784d3e308694f5931623279d749655f22fcb7922c |