added test for hello world

This commit is contained in:
2021-07-20 08:16:19 -04:00
parent 4d1a12c9ae
commit 65057955f0
3 changed files with 24 additions and 0 deletions

11
Hello World/config.json Normal file
View File

@@ -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": {}
}

10
Hello World/dockerfile Normal file
View File

@@ -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" ]

3
Hello World/run.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bashio
echo Hello world!