base: replace frep with tpl
It's our (simplified) fork: https://github.com/jitsi/tpl
This commit is contained in:
@@ -1,23 +1,21 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
ARG JITSI_RELEASE=stable
|
ARG JITSI_RELEASE=stable
|
||||||
ARG FREP_VERSION=1.3.11
|
|
||||||
|
|
||||||
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
||||||
|
|
||||||
|
ADD https://github.com/jitsi/tpl/releases/download/v1.0.1/tpl-linux-amd64 /usr/bin/tpl
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN apt-dpkg-wrap apt-get update && \
|
RUN apt-dpkg-wrap apt-get update && \
|
||||||
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
|
apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
|
||||||
wget -qO - https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz | tar xfz - -C / && \
|
wget -qO - https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz | tar xfz - -C / && \
|
||||||
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | gpg --dearmour > /etc/apt/trusted.gpg.d/jitsi.gpg && \
|
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | gpg --dearmour > /etc/apt/trusted.gpg.d/jitsi.gpg && \
|
||||||
wget -qO /usr/bin/frep https://github.com/subchen/frep/releases/download/v$FREP_VERSION/frep-$FREP_VERSION-linux-amd64 && \
|
|
||||||
echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
|
echo "deb https://download.jitsi.org $JITSI_RELEASE/" > /etc/apt/sources.list.d/jitsi.list && \
|
||||||
echo "deb http://ftp.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \
|
echo "deb http://ftp.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list && \
|
||||||
apt-dpkg-wrap apt-get update && \
|
apt-dpkg-wrap apt-get update && \
|
||||||
apt-dpkg-wrap apt-get dist-upgrade -y && \
|
apt-dpkg-wrap apt-get dist-upgrade -y && \
|
||||||
apt-cleanup && \
|
apt-cleanup && \
|
||||||
chmod +x /usr/bin/frep
|
chmod +x /usr/bin/tpl
|
||||||
|
|
||||||
RUN [ "$JITSI_RELEASE" = "unstable" ] && \
|
RUN [ "$JITSI_RELEASE" = "unstable" ] && \
|
||||||
apt-dpkg-wrap apt-get update && \
|
apt-dpkg-wrap apt-get update && \
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
exec frep $1:-
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user