2
0

Dockerfile 1.2 KB

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