Sometimes when we build the engine we need to run scripts (or build the engine) in a Linux environment. If you’re already on Linux, great.
But for us that don’t use it as default, this tip is for you.
Apart from installing a VM in your favorite VM tool (we use those too!), we also use Docker and its containers.
In our scripts folder, there’s a
You. can build the container using:
And you run it like so:
$ ./scripts/docker/run.sh builder@ubuntu:~$
This gives you access to an Ubuntu-18.04 container, with a C++ build tool chain installed. (also Java). See the Dockerfile for details.
It can either take folder as an argument, or you simply run the script from the folder that you wish to be your home directory.
I hope this helps someone!