# This is a Dockerfile that builds an image with a master server for quake, quake2 etc. # The master server part is from: # http://lasange-system.sourceforge.net/ # https://sourceforge.net/projects/lasange-system/files/masterserver/ # Because of fear losing the source we created a mirror of the master server # source that we use here to build the Docker image. FROM ubuntu RUN apt-get update && apt-get -y install apt-utils RUN apt-get -y install build-essential linux-headers-generic RUN mkdir -p /build RUN groupadd -r buildrun && useradd --uid 23176 -r -g buildrun buildrun ADD entrypoint.sh /build ADD src /build RUN chown -R buildrun:buildrun /build USER buildrun EXPOSE 27650/udp 27000/udp 28900/udp 27900/udp 27950/udp 27951/udp 27953/udp ENTRYPOINT ["/build/entrypoint.sh"]