From 9873aec3d03d0ca28e71b1cc8425433ff0b77c4f Mon Sep 17 00:00:00 2001 From: lub Date: Wed, 21 Aug 2019 16:20:23 +0200 Subject: [PATCH] switch to debian based powershell image this matches the version used on our hosts -preview is used because buster (including the newer nf_tables backend for iptables) isn't available in stretch --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6ac4859..b39a1f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:latest +FROM mcr.microsoft.com/powershell:preview-debian-buster-slim VOLUME /stacks @@ -7,6 +7,7 @@ ENV CHAIN="SWARM-NAT" \ WORKDIR / +# install dependencies RUN pwsh -c 'Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted' \ && pwsh -c 'Install-Module powershell-yaml' \ && apt-get update \