From c107aba0225a34030c6f433767c72664960fb8a7 Mon Sep 17 00:00:00 2001 From: Ira Limitanei Date: Mon, 13 May 2024 18:15:06 +0900 Subject: [PATCH] fix: use wolfi packages --- .../powershell-toolbox/Containerfile.powershell | 12 +----------- toolboxes/powershell-toolbox/packages.powershell | 11 ++--------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/toolboxes/powershell-toolbox/Containerfile.powershell b/toolboxes/powershell-toolbox/Containerfile.powershell index bf232b3..6babe01 100644 --- a/toolboxes/powershell-toolbox/Containerfile.powershell +++ b/toolboxes/powershell-toolbox/Containerfile.powershell @@ -17,16 +17,6 @@ RUN apk upgrade && \ ENV POWERSHELL_TELEMETRY_OPTOUT=1 ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 -RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -Channel LTS -InstallDir /usr/share/dotnet \ - && ln -sf /usr/share/dotnet/dotnet /usr/bin/dotnet - -ENV VIRTUAL_ENV=/.venv -RUN python3 -m venv $VIRTUAL_ENV -ENV PATH="$VIRTUAL_ENV/bin:$PATH" - -# hadolint ignore=DL3013 -RUN pip3 install --no-cache-dir --upgrade pip && \ - pip3 install --no-cache-dir --prefer-binary setuptools azure-cli && \ - az config set core.collect_telemetry=no && \ +RUN az config set core.collect_telemetry=no && \ rm -rf /tmp/* diff --git a/toolboxes/powershell-toolbox/packages.powershell b/toolboxes/powershell-toolbox/packages.powershell index 6b837e6..a536a28 100644 --- a/toolboxes/powershell-toolbox/packages.powershell +++ b/toolboxes/powershell-toolbox/packages.powershell @@ -1,10 +1,3 @@ -ca-certificates -curl -libffi -libgcc -libssl3 -libstdc++ -openssl +az +dotnet-8-sdk powershell -python3 -zlib