Dockerfile 1.1 KB

1234567891011121314151617181920212223242526
  1. FROM debian:bullseye-slim
  2. ARG JITSI_RELEASE=stable
  3. ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
  4. ADD https://github.com/jitsi/tpl/releases/download/v1.0.1/tpl-linux-amd64 /usr/bin/tpl
  5. COPY rootfs /
  6. RUN apt-dpkg-wrap apt-get update && \
  7. apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
  8. wget -qO - https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz | tar xfz - -C / && \
  9. wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | gpg --dearmour > /etc/apt/trusted.gpg.d/jitsi.gpg && \
  10. echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
  11. echo "deb http://ftp.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \
  12. apt-dpkg-wrap apt-get update && \
  13. apt-dpkg-wrap apt-get dist-upgrade -y && \
  14. apt-cleanup && \
  15. chmod +x /usr/bin/tpl
  16. RUN [ "$JITSI_RELEASE" = "unstable" ] && \
  17. apt-dpkg-wrap apt-get update && \
  18. apt-dpkg-wrap apt-get install -y jq procps curl vim iputils-ping net-tools && \
  19. apt-cleanup || \
  20. true
  21. ENTRYPOINT [ "/init" ]