From 74f890a08839a5fce5f1d43f0c8feafbc4c73f0f Mon Sep 17 00:00:00 2001 From: Artur Date: Sat, 5 Jul 2025 20:28:40 +0000 Subject: [PATCH 1/2] Add development tools and environments for various distributions - Implement basic development tools for Alpine, Arch, and Ubuntu - Add C/C++ development tools for Alpine, Arch, and Ubuntu - Include database client tools for Arch and Ubuntu - Set up Docker toolchain for Alpine, Arch, and Ubuntu - Install .NET SDK for C# development across Alpine, Arch, and Ubuntu - Add Go programming language setup for Alpine, Arch, and Ubuntu - Configure Java development environment with OpenJDK for Alpine, Arch, and Ubuntu - Install Kubernetes management tools for Arch and Ubuntu - Set up Node.js with npm and yarn for Alpine, Arch, and Ubuntu - Implement PHP development environment for Alpine, Arch, and Ubuntu - Add Python development environment for Alpine, Arch, and Ubuntu - Set up Ruby development environment for Alpine, Arch, and Ubuntu - Install Rust programming language for Alpine, Arch, and Ubuntu - Configure Terraform and Ansible for Infrastructure as Code on Alpine, Arch, and Ubuntu --- scripts/basic-dev-tools-alpine/info.yml | 7 +++++++ scripts/basic-dev-tools-alpine/script.noshell | 2 ++ scripts/basic-dev-tools-arch/info.yml | 7 +++++++ scripts/basic-dev-tools-arch/script.noshell | 2 ++ scripts/basic-dev-tools-ubuntu/info.yml | 7 +++++++ scripts/basic-dev-tools-ubuntu/script.noshell | 2 ++ scripts/cpp-dev-tools-alpine/info.yml | 7 +++++++ scripts/cpp-dev-tools-alpine/script.noshell | 2 ++ scripts/cpp-dev-tools-arch/info.yml | 7 +++++++ scripts/cpp-dev-tools-arch/script.noshell | 2 ++ scripts/cpp-dev-tools-ubuntu/info.yml | 7 +++++++ scripts/cpp-dev-tools-ubuntu/script.noshell | 2 ++ scripts/database-tools-arch/info.yml | 7 +++++++ scripts/database-tools-arch/script.noshell | 2 ++ scripts/database-tools-ubuntu/info.yml | 7 +++++++ scripts/database-tools-ubuntu/script.noshell | 6 ++++++ scripts/docker-toolchain-alpine/info.yml | 7 +++++++ scripts/docker-toolchain-alpine/script.noshell | 3 +++ scripts/docker-toolchain-arch/info.yml | 7 +++++++ scripts/docker-toolchain-arch/script.noshell | 4 ++++ scripts/docker-toolchain-ubuntu/info.yml | 7 +++++++ scripts/docker-toolchain-ubuntu/script.noshell | 8 ++++++++ scripts/dotnet-dev-env-alpine/info.yml | 7 +++++++ scripts/dotnet-dev-env-alpine/script.noshell | 7 +++++++ scripts/dotnet-dev-env-arch/info.yml | 7 +++++++ scripts/dotnet-dev-env-arch/script.noshell | 2 ++ scripts/dotnet-dev-env-ubuntu/info.yml | 7 +++++++ scripts/dotnet-dev-env-ubuntu/script.noshell | 7 +++++++ scripts/go-toolchain-alpine/info.yml | 7 +++++++ scripts/go-toolchain-alpine/script.noshell | 3 +++ scripts/go-toolchain-arch/info.yml | 7 +++++++ scripts/go-toolchain-arch/script.noshell | 3 +++ scripts/go-toolchain-ubuntu/info.yml | 7 +++++++ scripts/go-toolchain-ubuntu/script.noshell | 9 +++++++++ scripts/java-dev-env-alpine/info.yml | 7 +++++++ scripts/java-dev-env-alpine/script.noshell | 2 ++ scripts/java-dev-env-arch/info.yml | 7 +++++++ scripts/java-dev-env-arch/script.noshell | 2 ++ scripts/java-dev-env-ubuntu/info.yml | 7 +++++++ scripts/java-dev-env-ubuntu/script.noshell | 4 ++++ scripts/kubernetes-tools-arch/info.yml | 7 +++++++ scripts/kubernetes-tools-arch/script.noshell | 2 ++ scripts/kubernetes-tools-ubuntu/info.yml | 7 +++++++ scripts/kubernetes-tools-ubuntu/script.noshell | 8 ++++++++ scripts/nodejs-toolchain-alpine/info.yml | 7 +++++++ scripts/nodejs-toolchain-alpine/script.noshell | 3 +++ scripts/nodejs-toolchain-arch/info.yml | 7 +++++++ scripts/nodejs-toolchain-arch/script.noshell | 3 +++ scripts/nodejs-toolchain-ubuntu/info.yml | 7 +++++++ scripts/nodejs-toolchain-ubuntu/script.noshell | 3 +++ scripts/php-dev-env-alpine/info.yml | 7 +++++++ scripts/php-dev-env-alpine/script.noshell | 2 ++ scripts/php-dev-env-arch/info.yml | 7 +++++++ scripts/php-dev-env-arch/script.noshell | 2 ++ scripts/php-dev-env-ubuntu/info.yml | 7 +++++++ scripts/php-dev-env-ubuntu/script.noshell | 8 ++++++++ scripts/python-dev-env-alpine/info.yml | 7 +++++++ scripts/python-dev-env-alpine/script.noshell | 2 ++ scripts/python-dev-env-arch/info.yml | 7 +++++++ scripts/python-dev-env-arch/script.noshell | 2 ++ scripts/python-dev-env-ubuntu/info.yml | 7 +++++++ scripts/python-dev-env-ubuntu/script.noshell | 4 ++++ scripts/ruby-dev-env-alpine/info.yml | 7 +++++++ scripts/ruby-dev-env-alpine/script.noshell | 3 +++ scripts/ruby-dev-env-arch/info.yml | 7 +++++++ scripts/ruby-dev-env-arch/script.noshell | 3 +++ scripts/ruby-dev-env-ubuntu/info.yml | 7 +++++++ scripts/ruby-dev-env-ubuntu/script.noshell | 11 +++++++++++ scripts/rust-toolchain-alpine/info.yml | 7 +++++++ scripts/rust-toolchain-alpine/script.noshell | 2 ++ scripts/rust-toolchain-arch/info.yml | 7 +++++++ scripts/rust-toolchain-arch/script.noshell | 2 ++ scripts/rust-toolchain-ubuntu/info.yml | 7 +++++++ scripts/rust-toolchain-ubuntu/script.noshell | 6 ++++++ scripts/terraform-tools-alpine/info.yml | 7 +++++++ scripts/terraform-tools-alpine/script.noshell | 2 ++ scripts/terraform-tools-arch/info.yml | 7 +++++++ scripts/terraform-tools-arch/script.noshell | 2 ++ scripts/terraform-tools-ubuntu/info.yml | 7 +++++++ scripts/terraform-tools-ubuntu/script.noshell | 7 +++++++ 80 files changed, 431 insertions(+) create mode 100644 scripts/basic-dev-tools-alpine/info.yml create mode 100644 scripts/basic-dev-tools-alpine/script.noshell create mode 100644 scripts/basic-dev-tools-arch/info.yml create mode 100644 scripts/basic-dev-tools-arch/script.noshell create mode 100644 scripts/basic-dev-tools-ubuntu/info.yml create mode 100644 scripts/basic-dev-tools-ubuntu/script.noshell create mode 100644 scripts/cpp-dev-tools-alpine/info.yml create mode 100644 scripts/cpp-dev-tools-alpine/script.noshell create mode 100644 scripts/cpp-dev-tools-arch/info.yml create mode 100644 scripts/cpp-dev-tools-arch/script.noshell create mode 100644 scripts/cpp-dev-tools-ubuntu/info.yml create mode 100644 scripts/cpp-dev-tools-ubuntu/script.noshell create mode 100644 scripts/database-tools-arch/info.yml create mode 100644 scripts/database-tools-arch/script.noshell create mode 100644 scripts/database-tools-ubuntu/info.yml create mode 100644 scripts/database-tools-ubuntu/script.noshell create mode 100644 scripts/docker-toolchain-alpine/info.yml create mode 100644 scripts/docker-toolchain-alpine/script.noshell create mode 100644 scripts/docker-toolchain-arch/info.yml create mode 100644 scripts/docker-toolchain-arch/script.noshell create mode 100644 scripts/docker-toolchain-ubuntu/info.yml create mode 100644 scripts/docker-toolchain-ubuntu/script.noshell create mode 100644 scripts/dotnet-dev-env-alpine/info.yml create mode 100644 scripts/dotnet-dev-env-alpine/script.noshell create mode 100644 scripts/dotnet-dev-env-arch/info.yml create mode 100644 scripts/dotnet-dev-env-arch/script.noshell create mode 100644 scripts/dotnet-dev-env-ubuntu/info.yml create mode 100644 scripts/dotnet-dev-env-ubuntu/script.noshell create mode 100644 scripts/go-toolchain-alpine/info.yml create mode 100644 scripts/go-toolchain-alpine/script.noshell create mode 100644 scripts/go-toolchain-arch/info.yml create mode 100644 scripts/go-toolchain-arch/script.noshell create mode 100644 scripts/go-toolchain-ubuntu/info.yml create mode 100644 scripts/go-toolchain-ubuntu/script.noshell create mode 100644 scripts/java-dev-env-alpine/info.yml create mode 100644 scripts/java-dev-env-alpine/script.noshell create mode 100644 scripts/java-dev-env-arch/info.yml create mode 100644 scripts/java-dev-env-arch/script.noshell create mode 100644 scripts/java-dev-env-ubuntu/info.yml create mode 100644 scripts/java-dev-env-ubuntu/script.noshell create mode 100644 scripts/kubernetes-tools-arch/info.yml create mode 100644 scripts/kubernetes-tools-arch/script.noshell create mode 100644 scripts/kubernetes-tools-ubuntu/info.yml create mode 100644 scripts/kubernetes-tools-ubuntu/script.noshell create mode 100644 scripts/nodejs-toolchain-alpine/info.yml create mode 100644 scripts/nodejs-toolchain-alpine/script.noshell create mode 100644 scripts/nodejs-toolchain-arch/info.yml create mode 100644 scripts/nodejs-toolchain-arch/script.noshell create mode 100644 scripts/nodejs-toolchain-ubuntu/info.yml create mode 100644 scripts/nodejs-toolchain-ubuntu/script.noshell create mode 100644 scripts/php-dev-env-alpine/info.yml create mode 100644 scripts/php-dev-env-alpine/script.noshell create mode 100644 scripts/php-dev-env-arch/info.yml create mode 100644 scripts/php-dev-env-arch/script.noshell create mode 100644 scripts/php-dev-env-ubuntu/info.yml create mode 100644 scripts/php-dev-env-ubuntu/script.noshell create mode 100644 scripts/python-dev-env-alpine/info.yml create mode 100644 scripts/python-dev-env-alpine/script.noshell create mode 100644 scripts/python-dev-env-arch/info.yml create mode 100644 scripts/python-dev-env-arch/script.noshell create mode 100644 scripts/python-dev-env-ubuntu/info.yml create mode 100644 scripts/python-dev-env-ubuntu/script.noshell create mode 100644 scripts/ruby-dev-env-alpine/info.yml create mode 100644 scripts/ruby-dev-env-alpine/script.noshell create mode 100644 scripts/ruby-dev-env-arch/info.yml create mode 100644 scripts/ruby-dev-env-arch/script.noshell create mode 100644 scripts/ruby-dev-env-ubuntu/info.yml create mode 100644 scripts/ruby-dev-env-ubuntu/script.noshell create mode 100644 scripts/rust-toolchain-alpine/info.yml create mode 100644 scripts/rust-toolchain-alpine/script.noshell create mode 100644 scripts/rust-toolchain-arch/info.yml create mode 100644 scripts/rust-toolchain-arch/script.noshell create mode 100644 scripts/rust-toolchain-ubuntu/info.yml create mode 100644 scripts/rust-toolchain-ubuntu/script.noshell create mode 100644 scripts/terraform-tools-alpine/info.yml create mode 100644 scripts/terraform-tools-alpine/script.noshell create mode 100644 scripts/terraform-tools-arch/info.yml create mode 100644 scripts/terraform-tools-arch/script.noshell create mode 100644 scripts/terraform-tools-ubuntu/info.yml create mode 100644 scripts/terraform-tools-ubuntu/script.noshell diff --git a/scripts/basic-dev-tools-alpine/info.yml b/scripts/basic-dev-tools-alpine/info.yml new file mode 100644 index 0000000..2bf7f4a --- /dev/null +++ b/scripts/basic-dev-tools-alpine/info.yml @@ -0,0 +1,7 @@ +name: basic-dev-tools-alpine +description: Install essential development tools (curl, git, wget, build-base, etc) +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/basic-dev-tools-alpine/script.noshell b/scripts/basic-dev-tools-alpine/script.noshell new file mode 100644 index 0000000..7a79a01 --- /dev/null +++ b/scripts/basic-dev-tools-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache curl wget git build-base bash \ No newline at end of file diff --git a/scripts/basic-dev-tools-arch/info.yml b/scripts/basic-dev-tools-arch/info.yml new file mode 100644 index 0000000..9a411ae --- /dev/null +++ b/scripts/basic-dev-tools-arch/info.yml @@ -0,0 +1,7 @@ +name: basic-dev-tools-arch +description: Install essential development tools (curl, git, wget, base-devel, etc) +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/basic-dev-tools-arch/script.noshell b/scripts/basic-dev-tools-arch/script.noshell new file mode 100644 index 0000000..9494e8d --- /dev/null +++ b/scripts/basic-dev-tools-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm curl wget git base-devel \ No newline at end of file diff --git a/scripts/basic-dev-tools-ubuntu/info.yml b/scripts/basic-dev-tools-ubuntu/info.yml new file mode 100644 index 0000000..ab7aef0 --- /dev/null +++ b/scripts/basic-dev-tools-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: basic-dev-tools-ubuntu +description: Install essential development tools (curl, git, wget, build-essential, etc) +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/basic-dev-tools-ubuntu/script.noshell b/scripts/basic-dev-tools-ubuntu/script.noshell new file mode 100644 index 0000000..8b2d292 --- /dev/null +++ b/scripts/basic-dev-tools-ubuntu/script.noshell @@ -0,0 +1,2 @@ +apt-get update +apt-get install -y curl wget git build-essential software-properties-common apt-transport-https ca-certificates gnupg lsb-release \ No newline at end of file diff --git a/scripts/cpp-dev-tools-alpine/info.yml b/scripts/cpp-dev-tools-alpine/info.yml new file mode 100644 index 0000000..b343b50 --- /dev/null +++ b/scripts/cpp-dev-tools-alpine/info.yml @@ -0,0 +1,7 @@ +name: cpp-dev-tools-alpine +description: Install C/C++ compilers, CMake, and debugging tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/cpp-dev-tools-alpine/script.noshell b/scripts/cpp-dev-tools-alpine/script.noshell new file mode 100644 index 0000000..6c1709f --- /dev/null +++ b/scripts/cpp-dev-tools-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache gcc g++ make cmake gdb valgrind clang \ No newline at end of file diff --git a/scripts/cpp-dev-tools-arch/info.yml b/scripts/cpp-dev-tools-arch/info.yml new file mode 100644 index 0000000..f89720e --- /dev/null +++ b/scripts/cpp-dev-tools-arch/info.yml @@ -0,0 +1,7 @@ +name: cpp-dev-tools-arch +description: Install C/C++ compilers, CMake, and debugging tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/cpp-dev-tools-arch/script.noshell b/scripts/cpp-dev-tools-arch/script.noshell new file mode 100644 index 0000000..53b944a --- /dev/null +++ b/scripts/cpp-dev-tools-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm gcc clang cmake make gdb valgrind \ No newline at end of file diff --git a/scripts/cpp-dev-tools-ubuntu/info.yml b/scripts/cpp-dev-tools-ubuntu/info.yml new file mode 100644 index 0000000..75de0ed --- /dev/null +++ b/scripts/cpp-dev-tools-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: cpp-dev-tools-ubuntu +description: Install C/C++ compilers, CMake, and debugging tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/cpp-dev-tools-ubuntu/script.noshell b/scripts/cpp-dev-tools-ubuntu/script.noshell new file mode 100644 index 0000000..ebfdebd --- /dev/null +++ b/scripts/cpp-dev-tools-ubuntu/script.noshell @@ -0,0 +1,2 @@ +apt-get update +apt-get install -y build-essential gcc g++ make cmake cmake-curses-gui gdb valgrind clang clang-format clang-tidy lldb pkg-config \ No newline at end of file diff --git a/scripts/database-tools-arch/info.yml b/scripts/database-tools-arch/info.yml new file mode 100644 index 0000000..54b0492 --- /dev/null +++ b/scripts/database-tools-arch/info.yml @@ -0,0 +1,7 @@ +name: database-tools-arch +description: Install PostgreSQL and MySQL client tools, Redis CLI +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/database-tools-arch/script.noshell b/scripts/database-tools-arch/script.noshell new file mode 100644 index 0000000..aac0afb --- /dev/null +++ b/scripts/database-tools-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm postgresql-libs mariadb-clients redis \ No newline at end of file diff --git a/scripts/database-tools-ubuntu/info.yml b/scripts/database-tools-ubuntu/info.yml new file mode 100644 index 0000000..a18374a --- /dev/null +++ b/scripts/database-tools-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: database-tools-ubuntu +description: Install PostgreSQL and MySQL client tools, Redis CLI, and MongoDB tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/database-tools-ubuntu/script.noshell b/scripts/database-tools-ubuntu/script.noshell new file mode 100644 index 0000000..72006a5 --- /dev/null +++ b/scripts/database-tools-ubuntu/script.noshell @@ -0,0 +1,6 @@ +apt-get update +apt-get install -y postgresql-client mysql-client redis-tools +wget -qO- https://pgp.mongodb.com/server-7.0.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-server-7.0.gpg +echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list +apt-get update +apt-get install -y mongodb-database-tools \ No newline at end of file diff --git a/scripts/docker-toolchain-alpine/info.yml b/scripts/docker-toolchain-alpine/info.yml new file mode 100644 index 0000000..7663804 --- /dev/null +++ b/scripts/docker-toolchain-alpine/info.yml @@ -0,0 +1,7 @@ +name: docker-toolchain-alpine +description: Install Docker CLI and Docker Compose for Alpine Linux +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/docker-toolchain-alpine/script.noshell b/scripts/docker-toolchain-alpine/script.noshell new file mode 100644 index 0000000..bc9d45c --- /dev/null +++ b/scripts/docker-toolchain-alpine/script.noshell @@ -0,0 +1,3 @@ +apk update +apk add --no-cache docker-cli docker-cli-compose +addgroup $SUDO_USER docker || true \ No newline at end of file diff --git a/scripts/docker-toolchain-arch/info.yml b/scripts/docker-toolchain-arch/info.yml new file mode 100644 index 0000000..8a908aa --- /dev/null +++ b/scripts/docker-toolchain-arch/info.yml @@ -0,0 +1,7 @@ +name: docker-toolchain-arch +description: Install Docker Engine and Docker Compose for Arch Linux +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/docker-toolchain-arch/script.noshell b/scripts/docker-toolchain-arch/script.noshell new file mode 100644 index 0000000..80ca8cf --- /dev/null +++ b/scripts/docker-toolchain-arch/script.noshell @@ -0,0 +1,4 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm docker docker-compose +systemctl enable docker.service || true +usermod -aG docker $SUDO_USER || true \ No newline at end of file diff --git a/scripts/docker-toolchain-ubuntu/info.yml b/scripts/docker-toolchain-ubuntu/info.yml new file mode 100644 index 0000000..61bd0b8 --- /dev/null +++ b/scripts/docker-toolchain-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: docker-toolchain-ubuntu +description: Install Docker Engine and Docker Compose for Ubuntu +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/docker-toolchain-ubuntu/script.noshell b/scripts/docker-toolchain-ubuntu/script.noshell new file mode 100644 index 0000000..05e0151 --- /dev/null +++ b/scripts/docker-toolchain-ubuntu/script.noshell @@ -0,0 +1,8 @@ +apt-get update +apt-get install -y ca-certificates curl gnupg lsb-release +mkdir -p /etc/apt/keyrings +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg +echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null +apt-get update +apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin +usermod -aG docker $SUDO_USER || true \ No newline at end of file diff --git a/scripts/dotnet-dev-env-alpine/info.yml b/scripts/dotnet-dev-env-alpine/info.yml new file mode 100644 index 0000000..0a10584 --- /dev/null +++ b/scripts/dotnet-dev-env-alpine/info.yml @@ -0,0 +1,7 @@ +name: dotnet-dev-env-alpine +description: Install .NET SDK for C# development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/dotnet-dev-env-alpine/script.noshell b/scripts/dotnet-dev-env-alpine/script.noshell new file mode 100644 index 0000000..be7948a --- /dev/null +++ b/scripts/dotnet-dev-env-alpine/script.noshell @@ -0,0 +1,7 @@ +apk update +apk add --no-cache bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib +wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh +chmod +x /tmp/dotnet-install.sh +/tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet +ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet +rm /tmp/dotnet-install.sh \ No newline at end of file diff --git a/scripts/dotnet-dev-env-arch/info.yml b/scripts/dotnet-dev-env-arch/info.yml new file mode 100644 index 0000000..d79a1a3 --- /dev/null +++ b/scripts/dotnet-dev-env-arch/info.yml @@ -0,0 +1,7 @@ +name: dotnet-dev-env-arch +description: Install .NET SDK and runtime for C# development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/dotnet-dev-env-arch/script.noshell b/scripts/dotnet-dev-env-arch/script.noshell new file mode 100644 index 0000000..d7a4c65 --- /dev/null +++ b/scripts/dotnet-dev-env-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm dotnet-sdk aspnet-runtime \ No newline at end of file diff --git a/scripts/dotnet-dev-env-ubuntu/info.yml b/scripts/dotnet-dev-env-ubuntu/info.yml new file mode 100644 index 0000000..c096577 --- /dev/null +++ b/scripts/dotnet-dev-env-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: dotnet-dev-env-ubuntu +description: Install .NET SDK and runtime for C# development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/dotnet-dev-env-ubuntu/script.noshell b/scripts/dotnet-dev-env-ubuntu/script.noshell new file mode 100644 index 0000000..3e35c18 --- /dev/null +++ b/scripts/dotnet-dev-env-ubuntu/script.noshell @@ -0,0 +1,7 @@ +apt-get update +apt-get install -y wget +wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb +dpkg -i /tmp/packages-microsoft-prod.deb +rm /tmp/packages-microsoft-prod.deb +apt-get update +apt-get install -y dotnet-sdk-8.0 \ No newline at end of file diff --git a/scripts/go-toolchain-alpine/info.yml b/scripts/go-toolchain-alpine/info.yml new file mode 100644 index 0000000..661023c --- /dev/null +++ b/scripts/go-toolchain-alpine/info.yml @@ -0,0 +1,7 @@ +name: go-toolchain-alpine +description: Install Go programming language +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/go-toolchain-alpine/script.noshell b/scripts/go-toolchain-alpine/script.noshell new file mode 100644 index 0000000..24c114c --- /dev/null +++ b/scripts/go-toolchain-alpine/script.noshell @@ -0,0 +1,3 @@ +apk update +apk add --no-cache go +echo 'export PATH=$PATH:/usr/lib/go/bin:$HOME/go/bin' >> "$HOME/.profile" || true \ No newline at end of file diff --git a/scripts/go-toolchain-arch/info.yml b/scripts/go-toolchain-arch/info.yml new file mode 100644 index 0000000..95f8f5d --- /dev/null +++ b/scripts/go-toolchain-arch/info.yml @@ -0,0 +1,7 @@ +name: go-toolchain-arch +description: Install Go programming language +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/go-toolchain-arch/script.noshell b/scripts/go-toolchain-arch/script.noshell new file mode 100644 index 0000000..9ec9796 --- /dev/null +++ b/scripts/go-toolchain-arch/script.noshell @@ -0,0 +1,3 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm go +echo 'export PATH=$PATH:$HOME/go/bin' >> "$HOME/.bashrc" || true \ No newline at end of file diff --git a/scripts/go-toolchain-ubuntu/info.yml b/scripts/go-toolchain-ubuntu/info.yml new file mode 100644 index 0000000..c167e12 --- /dev/null +++ b/scripts/go-toolchain-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: go-toolchain-ubuntu +description: Install Go programming language (latest stable version) +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/go-toolchain-ubuntu/script.noshell b/scripts/go-toolchain-ubuntu/script.noshell new file mode 100644 index 0000000..13e2f92 --- /dev/null +++ b/scripts/go-toolchain-ubuntu/script.noshell @@ -0,0 +1,9 @@ +apt-get update +apt-get install -y wget +GO_VERSION=$(wget -qO- https://go.dev/VERSION?m=text | head -1) +wget "https://go.dev/dl/${GO_VERSION}.linux-amd64.tar.gz" -O /tmp/go.tar.gz +rm -rf /usr/local/go +tar -C /usr/local -xzf /tmp/go.tar.gz +echo 'export PATH=$PATH:/usr/local/go/bin' >> "$HOME/.bashrc" || true +echo 'export PATH=$PATH:$HOME/go/bin' >> "$HOME/.bashrc" || true +rm /tmp/go.tar.gz \ No newline at end of file diff --git a/scripts/java-dev-env-alpine/info.yml b/scripts/java-dev-env-alpine/info.yml new file mode 100644 index 0000000..b348ca2 --- /dev/null +++ b/scripts/java-dev-env-alpine/info.yml @@ -0,0 +1,7 @@ +name: java-dev-env-alpine +description: Install OpenJDK 21 with Maven and Gradle build tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/java-dev-env-alpine/script.noshell b/scripts/java-dev-env-alpine/script.noshell new file mode 100644 index 0000000..9f22d4a --- /dev/null +++ b/scripts/java-dev-env-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache openjdk21 maven gradle \ No newline at end of file diff --git a/scripts/java-dev-env-arch/info.yml b/scripts/java-dev-env-arch/info.yml new file mode 100644 index 0000000..3e7b44b --- /dev/null +++ b/scripts/java-dev-env-arch/info.yml @@ -0,0 +1,7 @@ +name: java-dev-env-arch +description: Install OpenJDK 21 with Maven and Gradle build tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/java-dev-env-arch/script.noshell b/scripts/java-dev-env-arch/script.noshell new file mode 100644 index 0000000..1f4650e --- /dev/null +++ b/scripts/java-dev-env-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm jdk21-openjdk maven gradle \ No newline at end of file diff --git a/scripts/java-dev-env-ubuntu/info.yml b/scripts/java-dev-env-ubuntu/info.yml new file mode 100644 index 0000000..a4689c6 --- /dev/null +++ b/scripts/java-dev-env-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: java-dev-env-ubuntu +description: Install OpenJDK 21 LTS with Maven and Gradle build tools +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/java-dev-env-ubuntu/script.noshell b/scripts/java-dev-env-ubuntu/script.noshell new file mode 100644 index 0000000..a1fd2ad --- /dev/null +++ b/scripts/java-dev-env-ubuntu/script.noshell @@ -0,0 +1,4 @@ +apt-get update +apt-get install -y openjdk-21-jdk openjdk-21-jre maven gradle +update-alternatives --config java || true +echo 'export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64' >> "$HOME/.bashrc" || true \ No newline at end of file diff --git a/scripts/kubernetes-tools-arch/info.yml b/scripts/kubernetes-tools-arch/info.yml new file mode 100644 index 0000000..8671e86 --- /dev/null +++ b/scripts/kubernetes-tools-arch/info.yml @@ -0,0 +1,7 @@ +name: kubernetes-tools-arch +description: Install kubectl and helm for Kubernetes management +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/kubernetes-tools-arch/script.noshell b/scripts/kubernetes-tools-arch/script.noshell new file mode 100644 index 0000000..bd472c6 --- /dev/null +++ b/scripts/kubernetes-tools-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm kubectl helm \ No newline at end of file diff --git a/scripts/kubernetes-tools-ubuntu/info.yml b/scripts/kubernetes-tools-ubuntu/info.yml new file mode 100644 index 0000000..1ac227f --- /dev/null +++ b/scripts/kubernetes-tools-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: kubernetes-tools-ubuntu +description: Install kubectl, helm, and k9s for Kubernetes management +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/kubernetes-tools-ubuntu/script.noshell b/scripts/kubernetes-tools-ubuntu/script.noshell new file mode 100644 index 0000000..572ff25 --- /dev/null +++ b/scripts/kubernetes-tools-ubuntu/script.noshell @@ -0,0 +1,8 @@ +apt-get update +apt-get install -y apt-transport-https ca-certificates curl +curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg +echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list +apt-get update +apt-get install -y kubectl +curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash +curl -sS https://webinstall.dev/k9s | bash \ No newline at end of file diff --git a/scripts/nodejs-toolchain-alpine/info.yml b/scripts/nodejs-toolchain-alpine/info.yml new file mode 100644 index 0000000..d6f99f0 --- /dev/null +++ b/scripts/nodejs-toolchain-alpine/info.yml @@ -0,0 +1,7 @@ +name: nodejs-toolchain-alpine +description: Install Node.js with npm and yarn package managers +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/nodejs-toolchain-alpine/script.noshell b/scripts/nodejs-toolchain-alpine/script.noshell new file mode 100644 index 0000000..7e54984 --- /dev/null +++ b/scripts/nodejs-toolchain-alpine/script.noshell @@ -0,0 +1,3 @@ +apk update +apk add --no-cache nodejs npm +npm install -g yarn \ No newline at end of file diff --git a/scripts/nodejs-toolchain-arch/info.yml b/scripts/nodejs-toolchain-arch/info.yml new file mode 100644 index 0000000..613cdc9 --- /dev/null +++ b/scripts/nodejs-toolchain-arch/info.yml @@ -0,0 +1,7 @@ +name: nodejs-toolchain-arch +description: Install Node.js LTS with npm and yarn package managers +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/nodejs-toolchain-arch/script.noshell b/scripts/nodejs-toolchain-arch/script.noshell new file mode 100644 index 0000000..424a4bd --- /dev/null +++ b/scripts/nodejs-toolchain-arch/script.noshell @@ -0,0 +1,3 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm nodejs npm +npm install -g yarn \ No newline at end of file diff --git a/scripts/nodejs-toolchain-ubuntu/info.yml b/scripts/nodejs-toolchain-ubuntu/info.yml new file mode 100644 index 0000000..929d3de --- /dev/null +++ b/scripts/nodejs-toolchain-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: nodejs-toolchain-ubuntu +description: Install Node.js LTS with npm and yarn package managers +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/nodejs-toolchain-ubuntu/script.noshell b/scripts/nodejs-toolchain-ubuntu/script.noshell new file mode 100644 index 0000000..1adf1b9 --- /dev/null +++ b/scripts/nodejs-toolchain-ubuntu/script.noshell @@ -0,0 +1,3 @@ +curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - +apt-get install -y nodejs +npm install -g yarn \ No newline at end of file diff --git a/scripts/php-dev-env-alpine/info.yml b/scripts/php-dev-env-alpine/info.yml new file mode 100644 index 0000000..e6cbf26 --- /dev/null +++ b/scripts/php-dev-env-alpine/info.yml @@ -0,0 +1,7 @@ +name: php-dev-env-alpine +description: Install PHP with Composer and common extensions +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/php-dev-env-alpine/script.noshell b/scripts/php-dev-env-alpine/script.noshell new file mode 100644 index 0000000..e8143eb --- /dev/null +++ b/scripts/php-dev-env-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache php83 php83-curl php83-mbstring php83-openssl php83-phar php83-dom php83-xml php83-xmlwriter php83-tokenizer composer \ No newline at end of file diff --git a/scripts/php-dev-env-arch/info.yml b/scripts/php-dev-env-arch/info.yml new file mode 100644 index 0000000..bee78c6 --- /dev/null +++ b/scripts/php-dev-env-arch/info.yml @@ -0,0 +1,7 @@ +name: php-dev-env-arch +description: Install PHP with Composer and common extensions +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/php-dev-env-arch/script.noshell b/scripts/php-dev-env-arch/script.noshell new file mode 100644 index 0000000..d8201ee --- /dev/null +++ b/scripts/php-dev-env-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm php php-gd php-intl composer \ No newline at end of file diff --git a/scripts/php-dev-env-ubuntu/info.yml b/scripts/php-dev-env-ubuntu/info.yml new file mode 100644 index 0000000..a88ba94 --- /dev/null +++ b/scripts/php-dev-env-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: php-dev-env-ubuntu +description: Install PHP 8.3 with Composer and common extensions +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/php-dev-env-ubuntu/script.noshell b/scripts/php-dev-env-ubuntu/script.noshell new file mode 100644 index 0000000..c8220f0 --- /dev/null +++ b/scripts/php-dev-env-ubuntu/script.noshell @@ -0,0 +1,8 @@ +apt-get update +apt-get install -y software-properties-common +add-apt-repository -y ppa:ondrej/php +apt-get update +apt-get install -y php8.3 php8.3-cli php8.3-common php8.3-curl php8.3-mbstring php8.3-mysql php8.3-xml php8.3-zip php8.3-gd php8.3-bcmath php8.3-intl +curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php +php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer +rm /tmp/composer-setup.php \ No newline at end of file diff --git a/scripts/python-dev-env-alpine/info.yml b/scripts/python-dev-env-alpine/info.yml new file mode 100644 index 0000000..bcc6323 --- /dev/null +++ b/scripts/python-dev-env-alpine/info.yml @@ -0,0 +1,7 @@ +name: python-dev-env-alpine +description: Install Python 3 with pip and development packages +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/python-dev-env-alpine/script.noshell b/scripts/python-dev-env-alpine/script.noshell new file mode 100644 index 0000000..29c0ebb --- /dev/null +++ b/scripts/python-dev-env-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache python3 py3-pip python3-dev \ No newline at end of file diff --git a/scripts/python-dev-env-arch/info.yml b/scripts/python-dev-env-arch/info.yml new file mode 100644 index 0000000..60bc162 --- /dev/null +++ b/scripts/python-dev-env-arch/info.yml @@ -0,0 +1,7 @@ +name: python-dev-env-arch +description: Install Python 3 with pip, venv, and common development packages +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/python-dev-env-arch/script.noshell b/scripts/python-dev-env-arch/script.noshell new file mode 100644 index 0000000..edcd53b --- /dev/null +++ b/scripts/python-dev-env-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm python python-pip python-virtualenv \ No newline at end of file diff --git a/scripts/python-dev-env-ubuntu/info.yml b/scripts/python-dev-env-ubuntu/info.yml new file mode 100644 index 0000000..7972162 --- /dev/null +++ b/scripts/python-dev-env-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: python-dev-env-ubuntu +description: Install Python 3 with pip, venv, and common development packages +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/python-dev-env-ubuntu/script.noshell b/scripts/python-dev-env-ubuntu/script.noshell new file mode 100644 index 0000000..1f48bc6 --- /dev/null +++ b/scripts/python-dev-env-ubuntu/script.noshell @@ -0,0 +1,4 @@ +apt-get update +apt-get install -y python3 python3-pip python3-venv python3-dev +update-alternatives --install /usr/bin/python python /usr/bin/python3 1 +update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \ No newline at end of file diff --git a/scripts/ruby-dev-env-alpine/info.yml b/scripts/ruby-dev-env-alpine/info.yml new file mode 100644 index 0000000..864577f --- /dev/null +++ b/scripts/ruby-dev-env-alpine/info.yml @@ -0,0 +1,7 @@ +name: ruby-dev-env-alpine +description: Install Ruby with bundler for Ruby development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/ruby-dev-env-alpine/script.noshell b/scripts/ruby-dev-env-alpine/script.noshell new file mode 100644 index 0000000..fb57a94 --- /dev/null +++ b/scripts/ruby-dev-env-alpine/script.noshell @@ -0,0 +1,3 @@ +apk update +apk add --no-cache ruby ruby-dev build-base +gem install bundler \ No newline at end of file diff --git a/scripts/ruby-dev-env-arch/info.yml b/scripts/ruby-dev-env-arch/info.yml new file mode 100644 index 0000000..709132c --- /dev/null +++ b/scripts/ruby-dev-env-arch/info.yml @@ -0,0 +1,7 @@ +name: ruby-dev-env-arch +description: Install Ruby with bundler for Ruby development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/ruby-dev-env-arch/script.noshell b/scripts/ruby-dev-env-arch/script.noshell new file mode 100644 index 0000000..8d5af52 --- /dev/null +++ b/scripts/ruby-dev-env-arch/script.noshell @@ -0,0 +1,3 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm ruby +gem install bundler \ No newline at end of file diff --git a/scripts/ruby-dev-env-ubuntu/info.yml b/scripts/ruby-dev-env-ubuntu/info.yml new file mode 100644 index 0000000..870a86a --- /dev/null +++ b/scripts/ruby-dev-env-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: ruby-dev-env-ubuntu +description: Install Ruby with rbenv and bundler for Ruby development +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/ruby-dev-env-ubuntu/script.noshell b/scripts/ruby-dev-env-ubuntu/script.noshell new file mode 100644 index 0000000..3d7219c --- /dev/null +++ b/scripts/ruby-dev-env-ubuntu/script.noshell @@ -0,0 +1,11 @@ +apt-get update +apt-get install -y git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev +git clone https://github.com/rbenv/rbenv.git ~/.rbenv +echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc +echo 'eval "$(rbenv init -)"' >> ~/.bashrc +git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build +export PATH="$HOME/.rbenv/bin:$PATH" +eval "$(rbenv init -)" +rbenv install 3.3.0 +rbenv global 3.3.0 +gem install bundler \ No newline at end of file diff --git a/scripts/rust-toolchain-alpine/info.yml b/scripts/rust-toolchain-alpine/info.yml new file mode 100644 index 0000000..c1e4f1e --- /dev/null +++ b/scripts/rust-toolchain-alpine/info.yml @@ -0,0 +1,7 @@ +name: rust-toolchain-alpine +description: Install Rust programming language with cargo +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/rust-toolchain-alpine/script.noshell b/scripts/rust-toolchain-alpine/script.noshell new file mode 100644 index 0000000..1fd9609 --- /dev/null +++ b/scripts/rust-toolchain-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache rust cargo \ No newline at end of file diff --git a/scripts/rust-toolchain-arch/info.yml b/scripts/rust-toolchain-arch/info.yml new file mode 100644 index 0000000..0ae8da9 --- /dev/null +++ b/scripts/rust-toolchain-arch/info.yml @@ -0,0 +1,7 @@ +name: rust-toolchain-arch +description: Install Rust programming language with rustup and cargo +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/rust-toolchain-arch/script.noshell b/scripts/rust-toolchain-arch/script.noshell new file mode 100644 index 0000000..54c8f80 --- /dev/null +++ b/scripts/rust-toolchain-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm rust \ No newline at end of file diff --git a/scripts/rust-toolchain-ubuntu/info.yml b/scripts/rust-toolchain-ubuntu/info.yml new file mode 100644 index 0000000..cd9154f --- /dev/null +++ b/scripts/rust-toolchain-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: rust-toolchain-ubuntu +description: Install Rust programming language with rustup and cargo +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/rust-toolchain-ubuntu/script.noshell b/scripts/rust-toolchain-ubuntu/script.noshell new file mode 100644 index 0000000..64fb3ab --- /dev/null +++ b/scripts/rust-toolchain-ubuntu/script.noshell @@ -0,0 +1,6 @@ +apt-get update +apt-get install -y curl build-essential +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh +sh /tmp/rustup.sh -y --default-toolchain stable +source "$HOME/.cargo/env" || true +echo 'source "$HOME/.cargo/env"' >> "$HOME/.bashrc" || true \ No newline at end of file diff --git a/scripts/terraform-tools-alpine/info.yml b/scripts/terraform-tools-alpine/info.yml new file mode 100644 index 0000000..0bb39e4 --- /dev/null +++ b/scripts/terraform-tools-alpine/info.yml @@ -0,0 +1,7 @@ +name: terraform-tools-alpine +description: Install Terraform and Ansible for Infrastructure as Code +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Alpine \ No newline at end of file diff --git a/scripts/terraform-tools-alpine/script.noshell b/scripts/terraform-tools-alpine/script.noshell new file mode 100644 index 0000000..d16f590 --- /dev/null +++ b/scripts/terraform-tools-alpine/script.noshell @@ -0,0 +1,2 @@ +apk update +apk add --no-cache terraform ansible \ No newline at end of file diff --git a/scripts/terraform-tools-arch/info.yml b/scripts/terraform-tools-arch/info.yml new file mode 100644 index 0000000..b5a7b79 --- /dev/null +++ b/scripts/terraform-tools-arch/info.yml @@ -0,0 +1,7 @@ +name: terraform-tools-arch +description: Install Terraform and Ansible for Infrastructure as Code +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Arch \ No newline at end of file diff --git a/scripts/terraform-tools-arch/script.noshell b/scripts/terraform-tools-arch/script.noshell new file mode 100644 index 0000000..230c3fe --- /dev/null +++ b/scripts/terraform-tools-arch/script.noshell @@ -0,0 +1,2 @@ +pacman -Syu --noconfirm +pacman -S --noconfirm terraform ansible \ No newline at end of file diff --git a/scripts/terraform-tools-ubuntu/info.yml b/scripts/terraform-tools-ubuntu/info.yml new file mode 100644 index 0000000..a0aa553 --- /dev/null +++ b/scripts/terraform-tools-ubuntu/info.yml @@ -0,0 +1,7 @@ +name: terraform-tools-ubuntu +description: Install Terraform, Ansible, and Packer for Infrastructure as Code +version: 1.0.0 +author: FizzWizzleDazzle +license: MIT +git: https://github.com/bostrot/wsl-scripts +distro: Ubuntu \ No newline at end of file diff --git a/scripts/terraform-tools-ubuntu/script.noshell b/scripts/terraform-tools-ubuntu/script.noshell new file mode 100644 index 0000000..e82f1ca --- /dev/null +++ b/scripts/terraform-tools-ubuntu/script.noshell @@ -0,0 +1,7 @@ +apt-get update +apt-get install -y gnupg software-properties-common +wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list +apt-get update +apt-get install -y terraform packer +apt-get install -y ansible \ No newline at end of file From 8882899964c37ba296bb39176daad44c209564aa Mon Sep 17 00:00:00 2001 From: Eric Trenkel Date: Thu, 3 Sep 2026 19:30:20 +0200 Subject: [PATCH 2/2] Fix deps, download checks and PATH setup --- scripts/dotnet-dev-env-alpine/script.noshell | 2 +- scripts/go-toolchain-alpine/script.noshell | 3 ++- scripts/go-toolchain-arch/script.noshell | 3 ++- scripts/go-toolchain-ubuntu/script.noshell | 20 ++++++++++++++++--- .../kubernetes-tools-ubuntu/script.noshell | 12 +++++++---- scripts/rust-toolchain-ubuntu/script.noshell | 14 ++++++++++--- 6 files changed, 41 insertions(+), 13 deletions(-) diff --git a/scripts/dotnet-dev-env-alpine/script.noshell b/scripts/dotnet-dev-env-alpine/script.noshell index be7948a..5204ce5 100644 --- a/scripts/dotnet-dev-env-alpine/script.noshell +++ b/scripts/dotnet-dev-env-alpine/script.noshell @@ -1,5 +1,5 @@ apk update -apk add --no-cache bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib +apk add --no-cache bash icu-libs krb5-libs libgcc libintl libssl3 libstdc++ zlib wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh chmod +x /tmp/dotnet-install.sh /tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet diff --git a/scripts/go-toolchain-alpine/script.noshell b/scripts/go-toolchain-alpine/script.noshell index 24c114c..0ad2a2b 100644 --- a/scripts/go-toolchain-alpine/script.noshell +++ b/scripts/go-toolchain-alpine/script.noshell @@ -1,3 +1,4 @@ apk update apk add --no-cache go -echo 'export PATH=$PATH:/usr/lib/go/bin:$HOME/go/bin' >> "$HOME/.profile" || true \ No newline at end of file +echo 'export PATH=$PATH:/usr/lib/go/bin:$HOME/go/bin' > /etc/profile.d/go.sh +chmod 644 /etc/profile.d/go.sh diff --git a/scripts/go-toolchain-arch/script.noshell b/scripts/go-toolchain-arch/script.noshell index 9ec9796..df21d79 100644 --- a/scripts/go-toolchain-arch/script.noshell +++ b/scripts/go-toolchain-arch/script.noshell @@ -1,3 +1,4 @@ pacman -Syu --noconfirm pacman -S --noconfirm go -echo 'export PATH=$PATH:$HOME/go/bin' >> "$HOME/.bashrc" || true \ No newline at end of file +echo 'export PATH=$PATH:$HOME/go/bin' > /etc/profile.d/go.sh +chmod 644 /etc/profile.d/go.sh diff --git a/scripts/go-toolchain-ubuntu/script.noshell b/scripts/go-toolchain-ubuntu/script.noshell index 13e2f92..5220ad9 100644 --- a/scripts/go-toolchain-ubuntu/script.noshell +++ b/scripts/go-toolchain-ubuntu/script.noshell @@ -2,8 +2,22 @@ apt-get update apt-get install -y wget GO_VERSION=$(wget -qO- https://go.dev/VERSION?m=text | head -1) wget "https://go.dev/dl/${GO_VERSION}.linux-amd64.tar.gz" -O /tmp/go.tar.gz +GO_SHA=$(wget -qO- "https://go.dev/dl/?mode=json&include=all" | \ + tr ',{}' '\n\n\n' | grep -A20 "\"${GO_VERSION}.linux-amd64.tar.gz\"" | \ + grep '"sha256"' | head -1 | cut -d'"' -f4) +if [ -z "$GO_SHA" ]; then + echo "No checksum published for ${GO_VERSION}" + rm -f /tmp/go.tar.gz + exit 1 +fi +echo "$GO_SHA /tmp/go.tar.gz" | sha256sum --check +if [ $? -ne 0 ]; then + echo "Checksum failed" + rm -f /tmp/go.tar.gz + exit 1 +fi rm -rf /usr/local/go tar -C /usr/local -xzf /tmp/go.tar.gz -echo 'export PATH=$PATH:/usr/local/go/bin' >> "$HOME/.bashrc" || true -echo 'export PATH=$PATH:$HOME/go/bin' >> "$HOME/.bashrc" || true -rm /tmp/go.tar.gz \ No newline at end of file +echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' > /etc/profile.d/go.sh +chmod 644 /etc/profile.d/go.sh +rm /tmp/go.tar.gz diff --git a/scripts/kubernetes-tools-ubuntu/script.noshell b/scripts/kubernetes-tools-ubuntu/script.noshell index 572ff25..e7ea37c 100644 --- a/scripts/kubernetes-tools-ubuntu/script.noshell +++ b/scripts/kubernetes-tools-ubuntu/script.noshell @@ -1,8 +1,12 @@ apt-get update apt-get install -y apt-transport-https ca-certificates curl -curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg -echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list +curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.36/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg +echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.36/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list apt-get update apt-get install -y kubectl -curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash -curl -sS https://webinstall.dev/k9s | bash \ No newline at end of file +curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 -o /tmp/get-helm-3.sh +bash /tmp/get-helm-3.sh +rm -f /tmp/get-helm-3.sh +curl -fsSL https://webinstall.dev/k9s -o /tmp/install-k9s.sh +bash /tmp/install-k9s.sh +rm -f /tmp/install-k9s.sh diff --git a/scripts/rust-toolchain-ubuntu/script.noshell b/scripts/rust-toolchain-ubuntu/script.noshell index 64fb3ab..cc9eec2 100644 --- a/scripts/rust-toolchain-ubuntu/script.noshell +++ b/scripts/rust-toolchain-ubuntu/script.noshell @@ -1,6 +1,14 @@ apt-get update apt-get install -y curl build-essential curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh -sh /tmp/rustup.sh -y --default-toolchain stable -source "$HOME/.cargo/env" || true -echo 'source "$HOME/.cargo/env"' >> "$HOME/.bashrc" || true \ No newline at end of file +export RUSTUP_HOME=/usr/local/rustup +export CARGO_HOME=/usr/local/cargo +sh /tmp/rustup.sh -y --no-modify-path --default-toolchain stable +chmod -R a+rX /usr/local/rustup /usr/local/cargo +cat > /etc/profile.d/rust.sh <<'PROFILE' +export RUSTUP_HOME=/usr/local/rustup +export CARGO_HOME=/usr/local/cargo +export PATH=$PATH:/usr/local/cargo/bin +PROFILE +chmod 644 /etc/profile.d/rust.sh +rm -f /tmp/rustup.sh