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.

18 lines
413 B
Docker

FROM mcr.microsoft.com/powershell:latest
VOLUME /stacks
ENV CHAIN="SWARM-NAT" \
STACKS="/stacks"
WORKDIR /
RUN pwsh -c 'Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted' \
&& pwsh -c 'Install-Module powershell-yaml' \
&& apt-get update \
&& apt-get -y install iptables docker.io \
&& rm -rf /var/cache/apt
COPY expose_forwards.ps1 docker/entrypoint.sh ./
ENTRYPOINT ["./entrypoint.sh"]