sindresorhus/speed-test

Using Docker / the Dockerfile

pascalandy opened this issue · 1 comments

Might be useful to some folks!

Run

docker run --rm -it devmtl/speedtest:1.0A

Dockerfile

FROM node:6-alpine

RUN apk update && apk upgrade && \
    npm install --global speed-test && \
    \
    apk add --no-cache tini ca-certificates tzdata && \
    cp /usr/share/zoneinfo/America/New_York /etc/localtime &&\ 
    echo "America/New_York" > /etc/timezone &&\ 
    apk del tzdata && \
	rm -rf /var/cache/apk/*

ENTRYPOINT ["/sbin/tini", "--", "speed-test"]

Put it in a repo and I'd be happy to link to it in the readme ;)