From 426c8d1d1d085a9ce5fa8d10408d98b1a935eb56 Mon Sep 17 00:00:00 2001 From: Christian Iversen Date: Thu, 25 May 2023 20:56:26 +0200 Subject: [PATCH] Avoid `--chmod=755` in Dockerfile. It seems `--chmod` is only support with a docker add-on. This causes home assistant to give this error: ``` Failed to install add-on the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled ``` Since we are calling `sh` as the `ENTRYPOINT`, it doesn't need to be +x anyway. --- ankerctl/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankerctl/Dockerfile b/ankerctl/Dockerfile index 15b71f1..269d6dd 100644 --- a/ankerctl/Dockerfile +++ b/ankerctl/Dockerfile @@ -12,7 +12,7 @@ FROM $BUILD_FROM ARG CONFIG_PATH='/data/options.json' # Add run.sh -COPY --chmod=755 data/run.sh / +COPY data/run.sh / # Set S6 wait time ENV S6_CMD_WAIT_FOR_SERVICES=1 \