You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
341 B
Docker
13 lines
341 B
Docker
FROM mcr.microsoft.com/powershell:latest
|
|
|
|
WORKDIR /
|
|
|
|
RUN pwsh -c 'Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted' \
|
|
&& pwsh -c 'Install-Module powershell-yaml' \
|
|
&& apt-get update \
|
|
&& apt-get -y install iptables \
|
|
&& rm -rf /var/cache/apt
|
|
|
|
COPY expose_forwards.ps1 docker/entrypoint.sh ./
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"] |