-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Description
In line 18 of the Dockerfile, part of the command RUN ./sbin/system-setup.py attempts to download and install Rust using tlsv1.2, however, this is blocked by my corporate firewall. If I manually attempt this command curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/rust-lang/rustup/master/rustup-init.sh -sSf | sh -s -- -y, it times out. If I manually change the protocol to v1.3, it succeeds. Can we upgrade the version of tls that the curl command uses to v1.3 instead of v1.2 in the repository? Below is the logs from trying to build the image.
------
> [python 10/11] RUN ./sbin/system-setup.py:
1213.3 In /build/RedisJSON/deps/readies/bin/getrust:
1213.3 15 fi
1213.3 16 if ! is_command rustup; then
1213.3 17 runn $READIES/bin/getget
1213.3 18 >>> runn "curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/rust-lang/rustup/master/rustup-init.sh -sSf | sh -s -- -y"
1213.3 19 source $HOME/.cargo/env
1213.3 20 elif ! runn rustup update stable; then
1213.3 21 runn rustup toolchain uninstall stable
1213.3
1213.3 command failed: /build/RedisJSON/deps/readies/bin/getrust
------
Dockerfile:21
--------------------
19 | RUN ./deps/readies/bin/getupdates
20 | RUN ./deps/readies/bin/getpy3
21 | >>> RUN ./sbin/system-setup.py
22 |
23 | # Build the RedisJSON module
--------------------
ERROR: failed to solve: process "/bin/sh -c ./sbin/system-setup.py" did not complete successfully: exit code: 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels