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.
This commit is contained in:
Christian Iversen 2023-05-25 20:56:26 +02:00
parent 7c2d321ae1
commit 426c8d1d1d

View file

@ -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 \