27 lines
1005 B
Docker
27 lines
1005 B
Docker
# 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 while true; do LinuxServer/Engine/Binaries/Linux/UE4Server-Linux-Shipping UnrealTournament UT-Entry?Game=Lobby; done |