This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
codespaces-linux/.devcontainer/library-scripts
elixir-phoenix-postgres/.devcontainer
rust/.devcontainer/library-scripts Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,13 @@ else
165
165
fi
166
166
echo " Installing Rust..."
167
167
# Download and verify rustup sha
168
- mkdir -p /tmp/rustup/target/x86_64 -unknown-linux-gnu/release/
168
+ mkdir -p /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/
169
169
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init" -o /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/rustup-init
170
170
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init.sha256" -o /tmp/rustup/rustup-init.sha256
171
171
cd /tmp/rustup
172
172
sha256sum -c rustup-init.sha256
173
- chmod +x target/x86_64 -unknown-linux-gnu/release/rustup-init
174
- target/x86_64 -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
173
+ chmod +x target/${download_architecture} -unknown-linux-gnu/release/rustup-init
174
+ target/${download_architecture} -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
175
175
cd ~
176
176
rm -rf /tmp/rustup
177
177
fi
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
11
11
# Options for common package install script
12
12
ARG INSTALL_ZSH="true"
13
13
ARG UPGRADE_PACKAGES="true"
14
- ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main /script-library/common-debian.sh"
15
- ARG COMMON_SCRIPT_SHA="dev-mode "
14
+ ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/v0.207.0 /script-library/common-debian.sh"
15
+ ARG COMMON_SCRIPT_SHA="d35dd1711454156c9a59cc41ebe04fbff681ca0bd304f10fd5b13285d0de13b2 "
16
16
17
17
# Optional Settings for Phoenix
18
18
ARG PHOENIX_VERSION="1.6.2"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
11
11
# Options for common package install script
12
12
ARG INSTALL_ZSH="true"
13
13
ARG UPGRADE_PACKAGES="true"
14
- ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main /script-library/common-debian.sh"
15
- ARG COMMON_SCRIPT_SHA="dev-mode "
14
+ ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/v0.207.0 /script-library/common-debian.sh"
15
+ ARG COMMON_SCRIPT_SHA="d35dd1711454156c9a59cc41ebe04fbff681ca0bd304f10fd5b13285d0de13b2 "
16
16
17
17
# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
18
18
RUN apt-get update \
Original file line number Diff line number Diff line change @@ -165,13 +165,13 @@ else
165
165
fi
166
166
echo " Installing Rust..."
167
167
# Download and verify rustup sha
168
- mkdir -p /tmp/rustup/target/x86_64 -unknown-linux-gnu/release/
168
+ mkdir -p /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/
169
169
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init" -o /tmp/rustup/target/${download_architecture} -unknown-linux-gnu/release/rustup-init
170
170
curl -sSL --proto ' =https' --tlsv1.2 " https://static.rust-lang.org/rustup/dist/${download_architecture} -unknown-linux-gnu/rustup-init.sha256" -o /tmp/rustup/rustup-init.sha256
171
171
cd /tmp/rustup
172
172
sha256sum -c rustup-init.sha256
173
- chmod +x target/x86_64 -unknown-linux-gnu/release/rustup-init
174
- target/x86_64 -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
173
+ chmod +x target/${download_architecture} -unknown-linux-gnu/release/rustup-init
174
+ target/${download_architecture} -unknown-linux-gnu/release/rustup-init -y --no-modify-path --profile ${RUSTUP_PROFILE} ${default_toolchain_arg}
175
175
cd ~
176
176
rm -rf /tmp/rustup
177
177
fi
You can’t perform that action at this time.
0 commit comments