Skip to content

Commit

Permalink
adjust binstall installation to use cargo install rather than pre-mad…
Browse files Browse the repository at this point in the history
…e binaries, due to potential failure
  • Loading branch information
lee-orr committed Apr 16, 2024
1 parent e9131aa commit ab869c6
Show file tree
Hide file tree
Showing 47 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion src/bacon/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Bacon",
"id": "bacon",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install bacon",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/bacon/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-audit/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Audit",
"id": "cargo-audit",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo audit",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-audit/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dpkg -l | grep build-essential || (apt update && apt install build-essential -y
dpkg -l | grep libssl3 || (apt update && apt install libssl3 libssl-dev -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-binstall/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Binstall",
"id": "cargo-binstall",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo binstall",
"options": {
"packages": {
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-bundle/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cargo-bundle",
"id": "cargo-bundle",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo-bundle",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-bundle/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-deny/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Deny",
"id": "cargo-deny",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo deny",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-deny/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-expand/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Expand",
"id": "cargo-expand",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo expand",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-expand/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-llvm-cov/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo LLVM Cov",
"id": "cargo-llvm-cov",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo-llvm-cov",
"options": {},
"installsAfter": ["ghcr.io/devcontainers/features/rust", "ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall"]
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-llvm-cov/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-make/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cargo-make",
"id": "cargo-make",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo-make",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-make/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-mobile/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cargo-mobile",
"id": "cargo-mobile",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo-mobile",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-nextest/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cargo-nextest",
"id": "cargo-nextest",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo-nextest",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-nextest/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-watch/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Watch",
"id": "cargo-watch",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo watch",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-watch/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-web/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cargo Web",
"id": "cargo-web",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install cargo web",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/cargo-web/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/cosmonic/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cosmonic",
"id": "cosmonic",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install Cosmonic",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/dexterous_developer/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Dexterous Developer",
"id": "dexterous_developer",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install the dexterous_developer cli, a hot reload system for the bevy game engine, as well as the dependencies for compiling bevy on linux.",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/dexterous_developer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dpkg -l | grep libssl-dev || (apt update && apt install libssl-dev -y -qq)
dpkg -l | grep pkg-config || (apt update && apt install pkg-config -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

apt install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev clang lld mold
Expand Down
2 changes: 1 addition & 1 deletion src/dioxus/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Dioxus",
"id": "dioxus",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install dioxus",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/dioxus/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/fermyon-spin/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Fermyon Spin",
"id": "fermyon-spin",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install Fermyon Spin",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/helix/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Helix",
"id": "helix",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install Helix",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/honggfuzz/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Honggfuzz",
"id": "honggfuzz",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install honggfuzz",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/honggfuzz/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/mprocs/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Mprocs",
"id": "mprocs",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install mprocs",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/mprocs/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/rust_windows_msvc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rust Windows MSVC",
"id": "rust_windows_msvc",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install xwin & the x86_64-pc-windows-msvc target, allowing cross compilation of windows executables",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/rust_windows_msvc/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

rustup target add x86_64-pc-windows-msvc
Expand Down
2 changes: 1 addition & 1 deletion src/sccache/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sccache",
"id": "sccache",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install sccache",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/sccache/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/spin-message-trigger/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Spin Message Trigger",
"id": "spin-message-trigger",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install spin message trigger",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/wasm-bindgen-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wasm bindgen cli",
"id": "wasm-bindgen-cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install wasm-bingen-cli",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/wasm-bindgen-cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)

if ! cargo install --list | grep "cargo-binstall" > /dev/null; then
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install cargo-binstall
fi

umask 002
Expand Down
2 changes: 1 addition & 1 deletion src/wasm-server-runner/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Wasm Server Runner",
"id": "wasm-server-runner",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install wasm server runner",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/wasm32-unknown-unknown/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rust wasm32_unknown_unknown",
"id": "wasm32-unknown-unknown",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install wasm32_unknown_unknown",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/wasmcloud/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Wasmcloud",
"id": "wasmcloud",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install Wasmcloud",
"options": {
},
Expand Down
2 changes: 1 addition & 1 deletion src/zellij/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Zellij",
"id": "zellij",
"version": "0.1.2",
"version": "0.1.3",
"description": "A feature to install zellij",
"options": {
},
Expand Down
Loading

0 comments on commit ab869c6

Please sign in to comment.