diff --git a/Hello World/config.json b/Hello World/config.json new file mode 100644 index 0000000..b8c5f08 --- /dev/null +++ b/Hello World/config.json @@ -0,0 +1,11 @@ +{ + "name": "Hello world", + "version": "1", + "slug": "hello_world", + "description": "My first real add-on!", + "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], + "startup": "application", + "boot": "auto", + "options": {}, + "schema": {} +} \ No newline at end of file diff --git a/Hello World/dockerfile b/Hello World/dockerfile new file mode 100644 index 0000000..5294b0d --- /dev/null +++ b/Hello World/dockerfile @@ -0,0 +1,10 @@ +ARG BUILD_FROM +FROM $BUILD_FROM + +ENV LANG C.UTF-8 + +# Copy data for add-on +COPY run.sh /RUN +chmod a+x /run.sh + +CMD [ "/run.sh" ] \ No newline at end of file diff --git a/Hello World/run.sh b/Hello World/run.sh new file mode 100644 index 0000000..8796461 --- /dev/null +++ b/Hello World/run.sh @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv bashio + +echo Hello world! \ No newline at end of file