Skip to content

Developing CoD4x with Docker

D4edalus edited this page Jan 8, 2018 · 4 revisions

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

Clone this wiki locally