Simplify build

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-08-20 11:04:03 +02:00
parent 677e84592e
commit 0ca5bf0634
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -8,9 +8,8 @@ RUN set -ex \
&& apk add \
curl \
git \
&& git clone "https://github.com/librespeed/speedtest-go.git" /src \
&& git clone -b "${VERSION}" --depth=1 "https://github.com/librespeed/speedtest-go.git" /src \
&& cd /src \
&& git reset --hard "${VERSION}" \
&& go build \
-o speedtest \
-mod=readonly \