git_pull: Collection of improvements (#901)

* git_pull: Prettier YAML files

* git_pull: Move run.sh to data folder

* git_pull: Update add-on URL

* git_pull: Pin add-on base images

* git_pull: Documentation tweak

* git_pull: Remove installation of curl, part of base image

* git_pull: Styling tweak to Dockerfile
This commit is contained in:
Franck Nijhof
2019-12-18 13:54:07 +01:00
committed by Pascal Vizeli
parent 646857b305
commit ed3f09a481
6 changed files with 24 additions and 17 deletions

View File

@@ -7,11 +7,11 @@ RUN apk add --no-cache jq curl git openssh-client
# Hass.io CLI
ARG BUILD_ARCH
ARG CLI_VERSION
RUN apk add --no-cache curl \
&& curl -Lso /usr/bin/hassio https://github.com/home-assistant/hassio-cli/releases/download/${CLI_VERSION}/hassio_${BUILD_ARCH} \
RUN curl -Lso /usr/bin/hassio \
"https://github.com/home-assistant/hassio-cli/releases/download/${CLI_VERSION}/hassio_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/hassio
# Copy data
COPY run.sh /
COPY data/run.sh /
CMD [ "/run.sh" ]