diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-10-12 18:03:35 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-10-12 19:45:21 +0200 |
commit | 0bc00d9c2ab63cba1d77bc6f664f80c7a9c3b126 (patch) | |
tree | 799c638817aeabcd81317537b78f6407f6c871f5 /examples/packages/example_1/config.toml | |
parent | e7b4869b2688590fdcd605e21a213255c0f1f4c7 (diff) |
Add example package hierarchy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'examples/packages/example_1/config.toml')
-rw-r--r-- | examples/packages/example_1/config.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/packages/example_1/config.toml b/examples/packages/example_1/config.toml new file mode 100644 index 0000000..dc56f49 --- /dev/null +++ b/examples/packages/example_1/config.toml @@ -0,0 +1,25 @@ +# Configuration file for YABOS for this repository + +# repository of package definitions +repository = "/tmp/yabos_example_1" + +# Phases which can be configured in the packages +available_phases = [ "unpack", "build", "install", "package" ] + +[docker] +# Images which can be used to build +# images not listed here are automatically rejected +images = [ "debian:bullseye" ] + +# List of docker endpoints +[[docker.endpoints]] +name = "example host name" +uri = "http://0.0.0.0:8095" +endpoint_type = "http" + + +[containers] +# environment variables which are allowed during container start +# This way, errors (typos) when passing environment to a build can be prevented +allowed_env = [ "PATH" ] + |