Ut4HubServerDocker/Dockerfile

27 lines
1003 B
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
2024-05-02 12:36:31 +00:00
RUN useradd -ms /bin/bash ut
2024-04-29 04:47:19 +00:00
RUN apt update
RUN apt upgrade -y
RUN apt install unzip -y
RUN apt install wget -y
2024-05-02 12:36:31 +00:00
USER ut
2024-04-29 04:47:19 +00:00
WORKDIR /home/ut
2024-04-29 16:04:15 +00:00
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 16:17:49 +00:00
CMD while true; do LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done