mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 17:08:19 +01:00
17 lines
313 B
Docker
17 lines
313 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
VOLUME [ "/data" ]
|
|
|
|
#Install last version https://github.com/dvershinin/lastversion
|
|
RUN \
|
|
apk add --no-cache git \
|
|
&& pip install --upgrade pip \
|
|
&& pip install lastversion
|
|
|
|
# Copy root filesystem
|
|
COPY rootfs /
|
|
|
|
# Set shell
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|