summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/packages/example_1/config.toml')
-rw-r--r--examples/packages/example_1/config.toml25
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" ]
+