From a1724fe5edfd8da9cd431e607e11663067690a03 Mon Sep 17 00:00:00 2001 From: Lermer Date: Wed, 27 Jul 2022 14:56:23 +0200 Subject: [PATCH] 'test/Dockerfile' updaten --- test/Dockerfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/Dockerfile b/test/Dockerfile index 39af24a..d8ba574 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -1,9 +1,8 @@ -docker run \ - --rm \ - --privileged \ - -v ~/.docker:/root/.docker \ - homeassistant/amd64-builder \ - --all \ - -t addon-folder \ - -r https://github.com/xy/addons \ - -b branchname \ No newline at end of file +ARG BUILD_FROM +FROM $BUILD_FROM + +# Copy data for add-on +COPY run.sh / +RUN chmod a+x /run.sh + +CMD [ "/run.sh" ] \ No newline at end of file