Initial version of the automatic addon updater

This commit is contained in:
Alexandre
2021-01-30 20:33:19 +01:00
parent 179f5a56b1
commit a73b888e1d
5 changed files with 167 additions and 0 deletions

16
addons_updater/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
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"]