Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ RUN apt-get update && apt-get install -y curl
|
|
3 |
|
4 |
RUN version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/gngpp/ninja/releases/latest)) \
|
5 |
&& base_url="https://github.com/gngpp/ninja/releases/expanded_assets/$version" \
|
6 |
-
&& latest_url=https://github.com/$(curl -sL $base_url | grep -oP 'href="ninja-0.9.16-
|
7 |
&& curl -Lo ninja.tar.gz $latest_url \
|
8 |
&& tar -xzf ninja.tar.gz
|
9 |
|
|
|
3 |
|
4 |
RUN version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/gngpp/ninja/releases/latest)) \
|
5 |
&& base_url="https://github.com/gngpp/ninja/releases/expanded_assets/$version" \
|
6 |
+
&& latest_url=https://github.com/$(curl -sL $base_url | grep -oP 'href="ninja-0.9.16-i686-unknown-linux-gnu.tar.gz")' | sed 's/href="//') \
|
7 |
&& curl -Lo ninja.tar.gz $latest_url \
|
8 |
&& tar -xzf ninja.tar.gz
|
9 |
|