| ADD alpine-minirootfs-3.24.4-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG BUILD_DATE |
| ARG VERSION |
| LABEL build_version=dnix baseimage version:- build-date:- |
| LABEL maintainer=an@dnix.de |
| RUN |2 BUILD_DATE= VERSION= /bin/sh -c apk add --no-cache python3 py3-pip && python3 -m pip install --no-cache-dir --break-system-packages --root-user-action=ignore supervisor && apk del --no-cache py3-pip # buildkit |
| COPY root/ / # buildkit |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisord.conf"] |
| ARG BUILD_DATE |
| ARG VERSION |
| LABEL maintainer=an@dnix.de |
| LABEL build_version=epg version:- build-date:- |
| COPY requirements.txt /tmp/requirements.txt # buildkit |
| RUN |2 BUILD_DATE= VERSION= /bin/sh -c apk add --no-cache py3-pip && python3 -m pip install --no-cache-dir --break-system-packages --root-user-action=ignore -r /tmp/requirements.txt && apk del --no-cache py3-pip && rm -f /tmp/requirements.txt && rm -rf /var/cache/apk/* # buildkit |
| COPY epg.py /opt/epg/epg.py # buildkit |
| ADD root/ / # buildkit |
| EXPOSE [8080/tcp] |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisord.conf"] |