Ut4HubServerDocker/Dockerfile

27 lines
1.0 KiB
Docker
Raw Normal View History

2024-04-29 04:47:19 +00:00
# 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
2024-04-29 15:49:57 +00:00
VOLUME["./paks:/home/ut/LinuxServer/UnrealTournament/Content/Paks/"]
2024-04-29 04:47:19 +00:00
#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
2024-04-29 15:49:57 +00:00
2024-04-29 13:21:10 +00:00
CMD while true; LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done;