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 \ && apk add \
curl \ curl \
git \ 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 \ && cd /src \
&& git reset --hard "${VERSION}" \
&& go build \ && go build \
-o speedtest \ -o speedtest \
-mod=readonly \ -mod=readonly \