commit 025fe0c14a435a2bdab9cf534311c04e497403b6 Author: basshound Date: Mon Apr 29 04:47:19 2024 +0000 Add Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e42171c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +# 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 +#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 LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby \ No newline at end of file