Artifact 1d3461e9f61399604caa869635e3d655b5fba273021561348b061a1c619b5c95:
- File speedtest-cli/Dockerfile — part of check-in [99aad5bb93] at 2024-02-26 23:32:35 on branch trunk — Added the --accept-gdpr flag, apparently required only in EU. (user: tangent size: 458)
FROM alpine:latest AS build COPY archmap / ARG TARGETARCH ARG URIBASE RUN set -x \ && export ARCH=$(./archmap ${TARGETARCH}) \ && wget -O- ${URIBASE}-${ARCH}.tgz | tar -xzf - speedtest FROM scratch COPY --from=build /etc/ssl/cert.pem / COPY --from=build /speedtest / ENTRYPOINT [ \ "/speedtest", \ "--accept-gdpr", \ "--accept-license", \ "--ca-certificate=/cert.pem" ] CMD [ \ "--format=human-readable", \ "--progress=no" ]