2
0

Dockerfile 1.1 KB

123456789101112131415161718192021222324252627282930
  1. FROM debian:buster-slim
  2. ARG JITSI_RELEASE=stable
  3. ARG FREP_VERSION=1.3.11
  4. ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
  5. COPY rootfs /
  6. RUN \
  7. apt-dpkg-wrap apt-get update && \
  8. apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg 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 -O /etc/apt/trusted.gpg.d/jitsi.asc && \
  11. wget -q https://github.com/subchen/frep/releases/download/v$FREP_VERSION/frep-$FREP_VERSION-linux-amd64 -O /usr/bin/frep && \
  12. echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
  13. echo "deb http://ftp.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports.list && \
  14. apt-dpkg-wrap apt-get update && \
  15. apt-dpkg-wrap apt-get dist-upgrade -y && \
  16. apt-cleanup && \
  17. chmod +x /usr/bin/frep
  18. RUN \
  19. [ "$JITSI_RELEASE" = "unstable" ] && \
  20. apt-dpkg-wrap apt-get update && \
  21. apt-dpkg-wrap apt-get install -y jq procps curl vim iputils-ping net-tools && \
  22. apt-cleanup || \
  23. true
  24. ENTRYPOINT [ "/init" ]