This commit is contained in:
Jan-Henrik 2023-02-17 20:45:27 +01:00
parent 612c0421af
commit bba33c032a
4 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:9.0.1
ARG BUILD_FROM=ghcr.io/hassio-addons/base:13.1.1
FROM ${BUILD_FROM}
RUN apk add --no-cache zlib-dev libjpeg-turbo-dev gcc chromium chromium-chromedriver zstd musl-dev linux-header
RUN apk add --no-cache python3 zlib-dev libjpeg-turbo-dev gcc chromium chromium-chromedriver zstd linux-headers musl-dev
ADD rootfs /
@ -9,6 +9,7 @@ RUN chmod 644 /usr/share/fontconfig/conf.avail/10-antialiasing.conf
RUN ln -s /usr/share/fontconfig/conf.avail/10-antialising.conf /etc/fonts/conf.d/10-antialiasing.conf
WORKDIR /app
RUN apk add --no-cache py3-pip py3-zstandard
RUN pip3 install -r requirements.txt
# Corrects permissions for s6 v3

View file

@ -1,7 +0,0 @@
{
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base-python/aarch64:9.0.1",
"amd64": "ghcr.io/hassio-addons/base-python/amd64:9.0.1",
"armv7": "ghcr.io/hassio-addons/base-python/armv7:9.0.1"
}
}

7
screenshotter/build.yaml Normal file
View file

@ -0,0 +1,7 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base:13.1.1
amd64: ghcr.io/hassio-addons/base:13.1.1
armhf: ghcr.io/hassio-addons/base:13.1.1
armv7: ghcr.io/hassio-addons/base:13.1.1
i386: ghcr.io/hassio-addons/base:13.1.1

View file

@ -1,6 +1,6 @@
---
name: E-Paper Screenshotter
version: 1.0.1.23
version: 1.0.1.24
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: screenshotter
description: Screenshot images for E-Paper pricetags