mirror of
https://github.com/luzifer-docker/librespeed.git
synced 2024-11-08 15:10:03 +00:00
Simplify build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
677e84592e
commit
0ca5bf0634
1 changed files with 1 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue