mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-23 13:54:26 +01:00
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:
committed by
Pascal Vizeli
parent
646857b305
commit
ed3f09a481
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user