ngoctuanai commited on
Commit
b95799c
1 Parent(s): a11686a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,9 +7,9 @@ RUN apt-get update && apt-get install -y curl
7
  # Download the latest version of Ninja from GitHub
8
  RUN version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/gngpp/ninja/releases/latest)) \
9
  && base_url="https://github.com/gngpp/ninja/releases/expanded_assets/$version" \
10
- # Lấy URL của bản phân phối dựa trên CPU x86_64 musl libc.
11
  && latest_url=https://github.com/$(curl -sL $base_url | grep -oP 'href=".*x86_64.*musl\.tar\.gz(?=")' | sed 's/href="//') \
12
- # Tải tệp tar.gz giải nén
13
  && curl -Lo ninja.tar.gz $latest_url \
14
  && tar -xzf ninja.tar.gz
15
 
 
7
  # Download the latest version of Ninja from GitHub
8
  RUN version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/gngpp/ninja/releases/latest)) \
9
  && base_url="https://github.com/gngpp/ninja/releases/expanded_assets/$version" \
10
+ # Get the URL of the distribution based on x86_64 CPU and musl libc
11
  && latest_url=https://github.com/$(curl -sL $base_url | grep -oP 'href=".*x86_64.*musl\.tar\.gz(?=")' | sed 's/href="//') \
12
+ # Download the tar.gz file and extract it
13
  && curl -Lo ninja.tar.gz $latest_url \
14
  && tar -xzf ninja.tar.gz
15