Skip to content

Commit

Permalink
fix: use wolfi packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaclan committed May 13, 2024
1 parent 7bcabab commit c107aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
12 changes: 1 addition & 11 deletions toolboxes/powershell-toolbox/Containerfile.powershell
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

11 changes: 2 additions & 9 deletions toolboxes/powershell-toolbox/packages.powershell
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
ca-certificates
curl
libffi
libgcc
libssl3
libstdc++
openssl
az
dotnet-8-sdk
powershell
python3
zlib

0 comments on commit c107aba

Please sign in to comment.