FROM debian:jessie MAINTAINER Thijn # Install packages RUN apt-get update && apt-get install -y \ wget \ unzip \ p7zip # Download and extract server files # Choose a more general directory name which does not contain any version RUN cd / \ && wget http://v04.maxorator.com/server/VCMP04_server_v22_linux64.zip \ && unzip VCMP04_server_v22_linux64.zip \ && rm -f VCMP04_server_v22_linux64.zip \ && mkdir /vcmp \ && mv /mpsvrrel64 /vcmp/ \ && cd /vcmp \ && mkdir plugins \ && cd plugins \ && wget http://v04.maxorator.com/allplugins_04rel004_patch7.7z && p7zip -d allplugins_04rel004_patch7.7z \ && chmod 700 * \ && cd ../ \ && chmod 700 mpsvrrel64 COPY vcmp.sh /usr/local/bin/vcmp COPY docker-entrypoint.sh /entrypoint.sh RUN chmod +x /usr/local/bin/vcmp \ && chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] CMD ["vcmp", "start"] EXPOSE 8192/udp