Compiling with Docker

From OHRRPGCE-Wiki
Jump to navigation Jump to search

If you want to compile the Linux version of the ohrrpgce using Docker images, you can find a pre-built docker image in the docker registry:

64 bit[edit]

docker pull bobthehamster/ohrrpgce-build-env
docker run -it bobthehamster/ohrrpgce-build-env
cd /ohrrpgce
./compile_ohrrpgce_nightly_inside_docker.sh

The instructions above will compile the latest ohrrpgce nightly wip build for 64 bit linux, and both the source and binaries will be located in /ohrrpgce/wip/

32 bit[edit]

docker pull bobthehamster/ohrrpgce-build-env-32
docker run -it bobthehamster/ohrrpgce-build-env-32
cd /ohrrpgce
./compile_ohrrpgce_nightly_inside_docker.sh

The instructions above will compile the latest ohrrpgce nightly wip build for 32 bit linux, and both the source and binaries will be located in /ohrrpgce/wip/

Dockerfiles[edit]

You can also see how these Docker images were built by looking at https://github.com/bob-the-hamster/ohrrpgce-docker

These dockerfiles are also really useful to look at if you want a minimal list of instructions for how to get all the build requirements installed on a Debian or Ubuntu computer.

See Also[edit]