diff --git a/docker/Dockerfile b/docker/Dockerfile index 495a480b7582..ac6494ae9e58 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -262,7 +262,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # Build the vLLM wheel # if USE_SCCACHE is set, use sccache to speed up compilation +# AWS credentials mounted at ~/.aws/credentials for sccache S3 auth (optional) RUN --mount=type=cache,target=/root/.cache/uv \ + --mount=type=secret,id=aws-credentials,target=/root/.aws/credentials,required=false \ if [ "$USE_SCCACHE" = "1" ]; then \ echo "Installing sccache..." \ && case "${TARGETPLATFORM}" in \