add initial Dockerfile

master
lub 5 years ago
parent 08491dcbba
commit babfefa910

@ -0,0 +1,13 @@
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"]

@ -0,0 +1,6 @@
#!/bin/bash
while :; do
pwsh -File expose_forwards.ps1
sleep 33
done
Loading…
Cancel
Save