We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de197f9 commit 0e51508Copy full SHA for 0e51508
dockerfiles/entrypoint.sh
@@ -28,7 +28,7 @@ done
28
set -e
29
30
if ! [ -d "${DOCSRS_PREFIX}/crates.io-index/.git" ]; then
31
- git clone https://github.com/rust-lang/crates.io-index "${DOCSRS_PREFIX}/crates.io-index"
+ git clone ${REGISTRY_URL:-https://github.com/rust-lang/crates.io-index} "${DOCSRS_PREFIX}/crates.io-index"
32
# Prevent new crates built before the container creation to be built
33
git --git-dir="$DOCSRS_PREFIX/crates.io-index/.git" branch crates-index-diff_last-seen
34
fi
0 commit comments