Files
addons/git_pull/Dockerfile
Franck Nijhof ed3f09a481 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
2019-12-18 13:54:07 +01:00

18 lines
369 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Setup base
RUN apk add --no-cache jq curl git openssh-client
# Hass.io CLI
ARG BUILD_ARCH
ARG CLI_VERSION
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 data/run.sh /
CMD [ "/run.sh" ]