Developing CoD4x with Docker - callofduty4x/CoD4x_Server GitHub Wiki

Dockerfile:

FROM ubuntu ENV DEBIAN_FRONTEND noninteractive

RUN dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -y nasm:i386 build-essential gcc-multilib g++-multilib paxctl nano bc

ENTRYPOINT /bin/bash

Build the docker image: docker build -t cod4x/dev .

Run the container: docker run -v <path_to_cod4xserver_repo_on_host_machine>:/cod4x -it --rm cod4x/dev