# Download base image ubuntu 22.04 FROM ubuntu:22.04 # LABEL about the custom image LABEL maintainer="webadmin@polycompsol.com" LABEL version="0.1" LABEL description="This is a custom Docker Image for UT4 Hub Server " # Update Ubuntu Software repository RUN useradd -ms /bin/bash ut RUN apt update RUN apt upgrade -y RUN apt install unzip -y RUN apt install wget -y USER ut WORKDIR /home/ut VOLUME["./paks:/home/ut/LinuxServer/UnrealTournament/Content/Paks/"] #RUN wget https://s3.amazonaws.com/unrealtournament/ShippedBuilds/%2B%2BUT%2BRelease-Next-CL-3525360/UnrealTournament-Server-XAN-3525360-Linux.zip RUN wget https://utils.navto.cc/UnrealTournament-Server-XAN-3525360-Linux.zip RUN unzip UnrealTournament-Server-XAN-3525360-Linux.zip RUN chmod +x LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping #RUN chown -R ut:ut LinuxServer/ RUN LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby CMD while true; LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done;