ITADN

Wave CLI not recognizing a successful build

#944Openmpampuch 创建于 2025-12-09
M
mpampuchcommented
Using this Dockerfile ``` # Stage 1: Build stage FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04 AS builder # Install essential packages RUN apt-get update && apt-get install -y \ wget git unzip curl build-essential zlib1g-dev zstd python3 python3-pip python3-venv \ && rm -rf /var/lib/apt/lists/* # Install Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}" # Build minimap2 RUN git clone https://github.com/lh3/minimap2.git /minimap2 && \ cd /minimap2 && make # Download and setup libtorch RUN wget -q -O /libtorch.zip "https://download.pytorch.org/libtorch/cu117/libtorch-cxx11-abi-shared-with-deps-2.0.1%2Bcu117.zip" && \ unzip -q /libtorch.zip -d / && rm /libtorch.zip ENV LIBTORCH=/libtorch ENV LD_LIBRARY_PATH=${LIBTORCH}/lib:$LD_LIBRARY_PATH # Clone HERRO repository and build RUN git clone https://github.com/lbcb-sci/herro.git /herro WORKDIR /herro RUN RUSTFLAGS="-Ctarget-cpu=native" cargo build --release # Download both models RUN mkdir -p /herro/models && \ wget -O /herro/models/model_R10_v0.1.pt "https://zenodo.org/records/12683277/files/model_v0.1.pt?download=1" && \ wget -O /herro/models/model_R9_v0.1.pt "https://zenodo.org/records/12683277/files/model_R9_v0.1.pt?download=1" # Stage 2: Runtime stage FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04 # Install runtime dependencies RUN apt-get update && apt-get install -y \ libgomp1 zlib1g-dev zstd python3 python3-pip \ && rm -rf /var/lib/apt/lists/* # Copy binaries, libraries, and models from build stage COPY --from=builder /minimap2/minimap2 /usr/local/bin/minimap2 COPY --from=builder /herro/target/release/herro /usr/local/bin/herro COPY --from=builder /libtorch /libs COPY --from=builder /herro/models /usr/local/share/herro/models # Set environment variables ENV LIBTORCH=/libs ENV LD_LIBRARY_PATH=${LIBTORCH}/lib:$LD_LIBRARY_PATH # Default model is R10.4.1; can override at runtime ENV HERRO_MODEL=/usr/local/share/herro/models/model_R10_v0.1.pt # Labels LABEL Author="Dominik Stanojevic" LABEL Version="v0.0.1" LABEL Name="herro" # Default command ENTRYPOINT ["herro"] ``` I ran this command ``` wave \ -f Dockerfile \ --context . \ --platform linux/amd64 \ --freeze \ --build-repo docker.io/mpampuch/herro \ --await ``` I got a successful build: https://wave.seqera.io/view/builds/bd-5b3e15e722c9ab1e_1 But the output in my CLI was: ``` Container provisioning did not complete within the max await time (PT15M) ``` Not sure if this is a bug or a one time glitch
2 条评论