swarm-nat (latest)

Published 12 months ago by lub in lubiland/swarm-nat

Installation

docker pull gitea.lubiland.de/lubiland/swarm-nat:latest
sha256:48fe6868de3c2f2c149ee669d8655aab8a77c4797a39e8ad817549cb18eeb586

Image Layers

ADD file:a2378c1b12e95db69e24b9d347441678c6f23239292cce3c822b1524992b6ec4 in /
CMD ["bash"]
ARG PS_VERSION=7.3.0-preview.8
ARG PS_INSTALL_VERSION=7-preview
COPY /opt/microsoft/powershell /opt/microsoft/powershell # buildkit
ARG PS_INSTALL_VERSION=7-preview
ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/7 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Debian-11
RUN |3 PS_VERSION=7.3.4 PS_INSTALL_VERSION=7 PS_INSTALL_VERSION=7 /bin/sh -c apt-get update && apt-get install --no-install-recommends -y less locales ca-certificates gss-ntlmssp libicu67 libssl1.1 libc6 libgcc1 libgssapi-krb5-2 libstdc++6 zlib1g openssh-client && apt-get dist-upgrade -y && apt-get clean && rm -rf /var/lib/apt/lists/* && sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && locale-gen && update-locale # buildkit
RUN |3 PS_VERSION=7.3.4 PS_INSTALL_VERSION=7 PS_INSTALL_VERSION=7 /bin/sh -c chmod a+x,o-w ${PS_INSTALL_FOLDER}/pwsh && ln -s ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh && export POWERSHELL_TELEMETRY_OPTOUT=1 && pwsh -NoLogo -NoProfile -Command " \$ErrorActionPreference = 'Stop' ; \$ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path \$env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; Start-Sleep -Seconds 6 ; }" # buildkit
CMD ["pwsh"]
VOLUME [/stacks]
ENV CHAIN=SWARM-NAT STACKS=/stacks
WORKDIR /
RUN /bin/sh -c 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 # buildkit
COPY expose_forwards.ps1 ./ # buildkit
CMD ["pwsh" "-File" "expose_forwards.ps1"]
Details
Container
12 months ago
22
OCI / Docker
linux/amd64
255 MiB
Versions (1) View all
latest on 2023-05-19