diff --git a/Dockerfile_trtllm b/Dockerfile_trtllm index 8b3f2bd9..feb3e18a 100644 --- a/Dockerfile_trtllm +++ b/Dockerfile_trtllm @@ -56,6 +56,10 @@ RUN chmod +x /opt/install_tensorrt.sh && \ FROM cuda-builder AS tgi-builder WORKDIR /usr/src/text-generation-inference +# Scoped global args reuse +ARG is_gha_build +ARG build_type + # Install Rust ENV PATH="/root/.cargo/bin:$PATH" RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y && \ @@ -63,7 +67,6 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y && chmod -R a+w /root/.cargo && \ cargo install sccache --locked - # SCCACHE Specifics args - before finding a better, more generic, way... ARG aws_access_key_id ARG aws_secret_access_key