Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
489 B · 11 lines
123456789101112
ARG TARGETARCHFROM --platform=linux/$TARGETARCH ubuntu:24.04RUN apt update && apt install -y curlARG STREAMPLACE_URLENV STREAMPLACE_URL $STREAMPLACE_URL# strip the -cloudflare suffix from the url; we're on the git server we don't need to leaveRUN export LOCAL_URL="$(echo $STREAMPLACE_URL | sed 's/-cloudflare//')" && echo "downloading $LOCAL_URL" && cd /usr/local/bin && curl -L "$LOCAL_URL" | tar xzvRUN streamplace self-testENV SP_DATA_DIR=/var/lib/streamplaceCMD streamplace