* ADD: initial commit
This commit is contained in:
24
powershell/Dockerfile
Normal file
24
powershell/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM debian:bullseye-slim
|
||||
LABEL maintainer.name="Uwe Hermann"\
|
||||
maintainer.email="uh@uleenucks.de"
|
||||
|
||||
RUN apt-get update && apt-get install -y -q --no-install-recommends \
|
||||
curl \
|
||||
ca-certificates \
|
||||
apt-transport-https \
|
||||
gnupg2
|
||||
|
||||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
||||
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main" > /etc/apt/sources.list.d/microsoft.list
|
||||
|
||||
RUN apt-get update && apt-get install -y -q --no-install-recommends \
|
||||
powershell \
|
||||
&& apt-get purge -y -q \
|
||||
ca-certificates \
|
||||
curl \
|
||||
apt-transport-https \
|
||||
gnupg2 \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/pwsh" ]
|
||||
Reference in New Issue
Block a user