# 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 27000 28900 27900 27950 27951 27953 ENTRYPOINT ["/build/entrypoint.sh"]