Craig Cabrey craigcabrey
  • Joined on 2024-06-17

dsp-docker-server (latest)

Published 2025-01-25 21:19:30 +00:00 by craigcabrey

Installation

docker pull git.craigcabrey.com/craigcabrey/dsp-docker-server:latest
sha256:aed0e4fe0f3deb60731c8c0cb5c6fb9e1fd0243fb449172453908559e2e48595

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in /
CMD ["/bin/bash"]
ENV USER=root
ENV HOME=/root
WORKDIR /root
SHELL [/bin/bash -o pipefail -c]
RUN /bin/bash -o pipefail -c echo steam steam/question select "I AGREE" | debconf-set-selections && echo steam steam/license note '' | debconf-set-selections # buildkit
ARG DEBIAN_FRONTEND=noninteractive
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c dpkg --add-architecture i386 && apt-get update -y && apt-get install -y --no-install-recommends ca-certificates locales steamcmd && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c locale-gen en_US.UTF-8 # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c ln -s /usr/games/steamcmd /usr/bin/steamcmd # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c steamcmd +quit # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -o pipefail -c mkdir -p $HOME/.steam && ln -s $HOME/.local/share/Steam/steamcmd/linux32 $HOME/.steam/sdk32 && ln -s $HOME/.local/share/Steam/steamcmd/linux64 $HOME/.steam/sdk64 && ln -s $HOME/.steam/sdk32/steamclient.so $HOME/.steam/sdk32/steamservice.so && ln -s $HOME/.steam/sdk64/steamclient.so $HOME/.steam/sdk64/steamservice.so # buildkit
ENTRYPOINT ["steamcmd"]
CMD ["+help" "+quit"]
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/bash -o pipefail -c dpkg --add-architecture i386 # buildkit
RUN /bin/bash -o pipefail -c apt update && apt install -y --no-install-recommends apt-transport-https ca-certificates cabextract git gnupg gosu gpg-agent locales p7zip pulseaudio pulseaudio-utils sudo tzdata unzip xz-utils wget curl winbind xwayland weston xauth zenity jq gettext && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/bash -o pipefail -c apt update && apt install -y --install-recommends wine && ln -s /usr/bin/wine /usr/bin/wine64 && rm -rf /var/lib/apt/lists/* # buildkit
ADD --chmod=777 https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks /usr/bin/winetricks # buildkit
ENTRYPOINT ["steamcmd"]
RUN /bin/bash -o pipefail -c usermod -l dsp ubuntu && groupmod -n dsp ubuntu && usermod -d /home/dsp -m dsp # buildkit
RUN /bin/bash -o pipefail -c mkdir /game && mkdir /save && mkdir /config && chown -R dsp:dsp /game /save /config # buildkit
USER dsp
ENV USER=dsp
ENV HOME=/home/dsp
WORKDIR /home/dsp
ENV WINEPREFIX=/home/dsp/.wine
ENV WINEDLLOVERRIDES=mscoree=n,b;mshtml=n,b;winhttp=n,b
ENV WINEDEBUG=fixme-all,err-d3d_shader
RUN /bin/bash -o pipefail -c winetricks -q dotnet48 # buildkit
COPY config/ /config/ # buildkit
RUN /bin/bash -o pipefail -c mkdir -p "/home/dsp/.wine/drive_c/users/dsp/Documents/Dyson Sphere Program" # buildkit
RUN /bin/bash -o pipefail -c ln -s /save "/home/dsp/.wine/drive_c/users/dsp/Documents/Dyson Sphere Program/Save" # buildkit
COPY appdata/ /home/dsp/.wine/drive_c/users/dsp/Documents/Dyson Sphere Program/ # buildkit
USER root
COPY --chmod=777 bin/* /usr/bin/ # buildkit
ARG NUSHELL_VER=0.97.1
RUN |1 NUSHELL_VER=0.97.1 /bin/bash -o pipefail -c mkdir -p /home/dsp/.config/nushell/ && wget -q https://raw.githubusercontent.com/nushell/nushell/${NUSHELL_VER}/crates/nu-utils/src/sample_config/default_config.nu -O /home/dsp/.config/nushell/config.nu && wget -q https://raw.githubusercontent.com/nushell/nushell/${NUSHELL_VER}/crates/nu-utils/src/sample_config/default_env.nu -O /home/dsp/.config/nushell/env.nu && cd /tmp && wget -q https://github.com/nushell/nushell/releases/download/${NUSHELL_VER}/nu-${NUSHELL_VER}-x86_64-unknown-linux-gnu.tar.gz && tar -xzf nu* && cd nu*-linux-gnu && mv nu* /usr/bin && chmod +x /usr/bin/nu # buildkit
RUN |1 NUSHELL_VER=0.97.1 /bin/bash -o pipefail -c chown -R dsp:dsp /home/dsp/.config/nushell && echo '/usr/bin/nu' >> /etc/shells && usermod --shell /usr/bin/nu dsp && ls /usr/bin/nu_plugin* | xargs -I{} su -c 'plugin add {}' dsp && rm -rf /tmp/* # buildkit
USER dsp
ENV LAUNCH_ARGS=-batchmode -nographics -server
ENV GENERATE_CONFIG=true
ENV DSP_INSTALL_PATH=/game
ENV MIN_UPS=50
ENV PORT=8469
ENV ENABLE_NGROK=false
ENV SYNC_UPS=true
ENV SYNC_SOIL=false
ENV REMOTE_ACCESS=false
ENV AUTO_PAUSE=true
ENV SEED=-1
ENV STAR_COUNT=-1
ENV RESOURCE_MUTLIPLIER=-1
ENV PEACE_MODE=false
ENV SANDBOX_MODE=false
ENV COMBAT_AGGRESSIVENESS=1
ENV COMBAT_INITIAL_LEVEL=0
ENV COMBAT_INITIAL_GROWTH=1
ENV COMBAT_INITIAL_COLONIZE=1
ENV COMBAT_MAX_DENSITY=1
ENV COMBAT_GROWTH_SPEED_FACTOR=1
ENV COMBAT_POWER_THREAT_FACTOR=1
ENV COMBAT_BATTLE_THREAT_FACTOR=1
ENV COMBAT_BATTLE_EXP_FACTOR=1
ENV REQUIRED_PLUGINS=nebula-NebulaMultiplayerMod,nebula-NebulaMultiplayerModApi,PhantomGamers-IlLine,CommonAPI-CommonAPI,starfi5h-BulletTime,xiaoye97-LDBTool,CommonAPI-DSPModSave
ENV XDG_RUNTIME_DIR=/tmp/dsp
RUN |1 NUSHELL_VER=0.97.1 /bin/bash -o pipefail -c mkdir /tmp/dsp && chmod 0700 /tmp/dsp # buildkit
RUN |1 NUSHELL_VER=0.97.1 /bin/bash -o pipefail -c mkdir /tmp/.X11-unix # buildkit
ENV DISPLAY=:0
ENTRYPOINT ["/usr/bin/entrypoint.nu"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-01-25 21:19:30 +00:00
7
OCI / Docker
linux/amd64
1.9 GiB
Versions (1) View all
latest 2025-01-25