Skip to content

A Dockerfile and a build script for compiling GZDooM and Eternity Engine for Linux

Notifications You must be signed in to change notification settings

2-4601/DooM-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Dockerfile and build script to compile the GZDoom and Eternity Engine DooM source ports for Ubuntu Linux.

Installation

TL;DR

  • Only do this once:
$ cd image_build_context/
$ docker build --file Dockerfile --tag doom .
  • Then after that you can compile GZDoom with:
$ ./run_container_and_build_doom.sh gzdoom
  • Or Eternity Engine with:
$ ./run_container_and_build_doom.sh eternity-engine
  • Binaries can be found in the build/{gzdoom,eternity-engine}/binaries directory

Longer version

At the very first time you need to create an image which is described in the Dockerfile. You can do this by going to the image_build_context/ directory:

$ cd image_build_context/

And then running:

$ docker build --file Dockerfile --tag doom .

This could take several minutes. But you only need to do it once. (Please ignore the bash scripts in the same folder. They are just helper scripts which are copied automatically into the image by the Dockerfile.)

When you have the image ready you can reuse it over and over again to create containers which will build GZDoom or Eternity Engine for you.

Now to compile GZDoom's latest stable version with the Docker container run the run_container_and_build_doom.sh script with the gzdoom argument:

$ ./run_container_and_build_doom.sh gzdoom

To build the latest stable version of the Eternity Engine pass the eternity-engine argument:

$ ./run_container_and_build_doom.sh eternity-engine

You can also give a commit-ish as an extra argument. E.g. to build the latest commit of GZDoom run the script like this:

$ ./run_container_and_build_doom.sh gzdoom HEAD

Binaries can be found in the build/{gzdoom,eternity-engine}/binaries directory

About

A Dockerfile and a build script for compiling GZDooM and Eternity Engine for Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published