Files
addons/git_pull/Dockerfile
Maarten Groeneweg bf67692f9d new implementation for git pull (#218)
* new implementation for git pull

* implemented review comments: use absolute paths

* fixed linting errors and warnings

* fixed spellcheck hints, and ignored one of them

* Update config.json

* Create CHANGELOG.md

* Update Dockerfile

* Create build.json

* add new cli
2018-01-11 15:09:32 +01:00

22 lines
435 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
# Setup base
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} \
&& chmod a+x /usr/bin/hassio
# Copy data
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]