File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1- FROM ghcr.io/huggingface/gpu-fryer:1.1.0 AS fryer
1+ FROM cr.eu-north1.nebius.cloud/soperator/cuda_base:13.0.2-ubuntu24.04-nccl2.28.7-1-14542c2 AS fryer
2+
3+ ENV REPO_URL="https://github.com/huggingface/gpu-fryer"
4+ ENV TAG="1.1.0"
5+
6+ RUN apt-get update && \
7+ apt-get install -y --no-install-recommends \
8+ git \
9+ libssl-dev \
10+ pkg-config \
11+ build-essential && \
12+ apt-get clean && \
13+ rm -rf /var/lib/apt/lists/*
14+
15+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
16+
17+ ENV PATH="/root/.cargo/bin:${PATH}"
18+
19+ RUN git clone --depth 1 --branch "${TAG}" "${REPO_URL}" /gpu-fryer
20+
21+ WORKDIR /gpu-fryer/app
22+
23+ RUN cargo build --release
224
325# ###############################################
426
@@ -77,4 +99,4 @@ RUN apt-get update && \
7799 apt clean && \
78100 rm -rf /var/lib/apt/lists/*
79101
80- COPY --from=fryer /usr/local/bin /gpu-fryer /usr/bin/gpu-fryer
102+ COPY --from=fryer /gpu-fryer/app/target/release /gpu-fryer /usr/bin/gpu-fryer
You can’t perform that action at this time.
0 commit comments