This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from tqdm import tqdm | |
import json | |
CHUNK_SIZE = 32 * 1024 | |
def get(url, token): | |
headers = {"Authorization": token} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install cmake | |
WORKDIR /root | |
RUN mkdir temp | |
WORKDIR /root/temp | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz | |
RUN tar -xzvf cmake-3.27.4.tar.gz | |
WORKDIR /root/temp/cmake-3.27.4 | |
RUN ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release | |
RUN make -j4 |