swarmui (open)
Published 2025-05-10 20:32:50 -04:00 by m
Installation
docker pull git.hawallacespace.academy/m/swarmui:opensha256:d9787ff37e0b8f7b6c6cd9f0f0542f4792ed91b18a474bf6ead7df1cbd68cdc3Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1745798400' |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu72 libssl3 libstdc++6 tzdata zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=8.0.15 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=8.0.15 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=8.0.408 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-12 |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git libatomic1 wget && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c dotnet help # buildkit |
| RUN /bin/sh -c powershell_version=7.4.7 && curl -fSL --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg && powershell_sha512='3f4ff718b982b5cbcbc3ceef2602f681af8029e716aa00a65e60edd81c94fcea3d2e4d6c6f18b5f3cadfba2558f70dbe810397c6bf73757d132ec7bec77dfdba' && echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - && mkdir -p /usr/share/powershell && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 && dotnet nuget locals all --clear && rm PowerShell.Linux.x64.$powershell_version.nupkg && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh && chmod 755 /usr/share/powershell/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit |
| ARG UID=1000 |
| RUN |1 UID=1000 /bin/sh -c apt update # buildkit |
| RUN |1 UID=1000 /bin/sh -c apt install -y git wget build-essential python3.11 python3.11-venv python3.11-dev ffmpeg # buildkit |
| RUN |1 UID=1000 /bin/sh -c apt install -y libglib2.0-0 libgl1 # buildkit |
| RUN |1 UID=1000 /bin/sh -c git config --global --add safe.directory '*' # buildkit |
| RUN |1 UID=1000 /bin/sh -c useradd -u $UID swarmui # buildkit |
| EXPOSE map[7801/tcp:{}] |
| ENTRYPOINT ["bash" "/SwarmUI/launchtools/docker-open-inner.sh"] |