Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 5d365a7

Browse files
author
CI
committed
Automated update of common script sources and hash
1 parent bb6a228 commit 5d365a7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

containers/codespaces-linux/.devcontainer/library-scripts/rust-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ else
165165
fi
166166
echo "Installing Rust..."
167167
# 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/
169169
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
170170
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
171171
cd /tmp/rustup
172172
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}
175175
cd ~
176176
rm -rf /tmp/rustup
177177
fi

containers/elixir-phoenix-postgres/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
1111
# Options for common package install script
1212
ARG INSTALL_ZSH="true"
1313
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"
1616

1717
# Optional Settings for Phoenix
1818
ARG PHOENIX_VERSION="1.6.2"

containers/elixir/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ARG USER_GID=$USER_UID
1111
# Options for common package install script
1212
ARG INSTALL_ZSH="true"
1313
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"
1616

1717
# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
1818
RUN apt-get update \

containers/rust/.devcontainer/library-scripts/rust-debian.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ else
165165
fi
166166
echo "Installing Rust..."
167167
# 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/
169169
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
170170
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
171171
cd /tmp/rustup
172172
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}
175175
cd ~
176176
rm -rf /tmp/rustup
177177
fi

0 commit comments

Comments
 (0)