mirror of
https://github.com/luzifer-docker/librespeed.git
synced 2024-09-19 18:22:54 +00:00
Simplify build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
677e84592e
commit
0ca5bf0634
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user