Live video on the AT Protocol
at next 11 lines 489 B view raw
1 2ARG TARGETARCH 3FROM --platform=linux/$TARGETARCH ubuntu:24.04 4RUN apt update && apt install -y curl 5ARG STREAMPLACE_URL 6ENV STREAMPLACE_URL $STREAMPLACE_URL 7# strip the -cloudflare suffix from the url; we're on the git server we don't need to leave 8RUN export LOCAL_URL="$(echo $STREAMPLACE_URL | sed 's/-cloudflare//')" && echo "downloading $LOCAL_URL" && cd /usr/local/bin && curl -L "$LOCAL_URL" | tar xzv 9RUN streamplace self-test 10ENV SP_DATA_DIR=/var/lib/streamplace 11CMD streamplace