Live video on the AT Protocol
at next 13 lines 678 B view raw
1ARG TARGETARCH 2FROM --platform=linux/$TARGETARCH ubuntu:24.04 3RUN apt update && apt install -y curl 4ARG STREAMPLACE_URL 5ENV STREAMPLACE_URL $STREAMPLACE_URL 6# strip the -cloudflare suffix from the url; we're on the git server we don't need to leave 7RUN export LOCAL_URL="$(echo $STREAMPLACE_URL | sed 's/-cloudflare//')" && echo "downloading $LOCAL_URL" && cd /usr/local/bin && curl -L "$LOCAL_URL" | tar xzv 8 9RUN apt-get update && apt-get install -y curl 10RUN cd /usr/bin && curl -o - https://r.mistserver.org/dl/mistserver_64V3.7.tar.gz | tar xzv 11RUN mkdir -p /config 12ADD ./docker/mistserver.json /config/mistserver.json 13CMD ["MistController", "-c", "/config/mistserver.json"]