POC fonctionnel

This commit is contained in:
2017-02-09 21:53:24 +01:00
parent 38d236e09b
commit 2375dd6571
25 changed files with 279 additions and 470 deletions

View File

@ -1,26 +1,38 @@
# Tamarin
Usine à paquets binaires Debian basée sur Docker.
Usine à paquets expérimentale basée sur rkt/acbuild.
## Formats de paquets/distributions supportés
- `.deb` (Debian, Ubuntu)
## Dépendances
Vous devez avoir [docker](https://docs.docker.com/installation/) installé sur votre machine.
- [Python 3](https://www.python.org/downloads/)
- Un noyau Linux > 2.6.24 (avec support des cgroups)
## Utilisation
**Optionnel mais conseillé**
- [systemd](https://freedesktop.org/wiki/Software/systemd/)
## Usage
```bash
./package --help
```
Usage: ./package.sh -p project_path [-d destination] [-i image] [-k]
## Fonctionnement
Parameters:
### Les profils de construction
-p Path to the project to build
-a Optional : Architecture choice (-a i386 for example)
-d Optional : Destination of the builed packages (default ./packages)
-i Optional : Name of the Docker image to use for build (default: debian:jessie)
-k Optional : Keep the Docker container after build
-b Optional : Build directory (default /tmp)
-B Optional : Build branch (for git projects only) (default dist/ubuntu/precise/master)
```
TODO
### Les attributs de construction
TODO
### Répertoire de travail et mise en cache des images
TODO
## Licence