Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create powershell toolbox #91

Merged
merged 3 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions toolboxes/powershell-toolbox/Containerfile.powershell
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# hadolint ignore=DL3007
FROM ghcr.io/ublue-os/wolfi-base:latest

LABEL com.github.containers.toolbox="true" \
name="powershell-toolbox" \
usage="This image is meant to be used with the toolbox or distrobox command" \
description="A container image with integrated Powershell and Microsoft tooling for development environments."

# COPY ./toolboxes/powershell-toolbox/packages.powershell /tmp
COPY packages.powershell /tmp

SHELL ["/bin/ash", "-eo", "pipefail", "-c"]

RUN apk upgrade && \
grep -v '^#' /tmp/packages.powershell | xargs apk add --no-cache

ENV POWERSHELL_TELEMETRY_OPTOUT=1
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1

RUN az config set core.collect_telemetry=no && \
rm -rf /tmp/*

3 changes: 3 additions & 0 deletions toolboxes/powershell-toolbox/packages.powershell
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
az
dotnet-8-sdk
powershell