Fix Space Docker build source checkout
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,10 @@ RUN apt-get update && \
|
|
| 5 |
apt-get install -y build-essential cmake git curl && \
|
| 6 |
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN cmake -B build -DWHISPER_BUILD_TESTS=OFF && \
|
| 10 |
cmake --build build -j"$(nproc)" --target whisper-cli
|
| 11 |
|
|
|
|
| 5 |
apt-get install -y build-essential cmake git curl && \
|
| 6 |
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
| 7 |
|
| 8 |
+
ARG CRISPASR_REPO=https://github.com/CrispStrobe/CrispASR
|
| 9 |
+
ARG CRISPASR_REF=main
|
| 10 |
+
|
| 11 |
+
RUN git clone --depth 1 --branch "${CRISPASR_REF}" "${CRISPASR_REPO}" /src/CrispASR
|
| 12 |
RUN cmake -B build -DWHISPER_BUILD_TESTS=OFF && \
|
| 13 |
cmake --build build -j"$(nproc)" --target whisper-cli
|
| 14 |
|