| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:ff1ce8d2ee022926eb353ff9248358531fbe1661ef12d8784e68fbc52738ed34 in / |
| CMD ["/bin/bash"] |
| ARG VERSION=0.2.0 |
| ENV APP_VERSION=0.2.0 |
| ENV DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin |
| RUN |1 VERSION=0.2.0 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 tzdata ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /opt/vplan |
| COPY download.py /opt/vplan/download.py # buildkit |
| COPY parser.py /opt/vplan/parser.py # buildkit |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN |1 VERSION=0.2.0 /bin/sh -c sed -i 's/\r$//' /usr/local/bin/entrypoint.sh && chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| ENV DOWNLOAD_ENABLED=true PARSER_ENABLED=true INTERVAL_SECONDS=60 DOWNLOAD_URL=http://192.168.2.11 HTML_DIR=/data/html JSON_DIR=/data/json DOWNLOAD_SCRIPT=/opt/vplan/download.py PARSER_SCRIPT=/opt/vplan/parser.py DOWNLOAD_ARGS= PARSER_ARGS= CLEAN_HTML_BEFORE_DOWNLOAD=true |
| VOLUME [/data] |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |