MikroTik Solutions

Artifact [1d3461e9f6]
Login

Artifact [1d3461e9f6]

Artifact 1d3461e9f61399604caa869635e3d655b5fba273021561348b061a1c619b5c95:


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" ]