Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames authored Nov 12, 2019
1 parent a4a1ed7 commit 989058b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repository contains the Dockerfiles for the official Godot engine builds. T

## What is a Docker?

They are like a chroot environment with more features. They are similar to a virtual machine, except they use the same kernel as the host operating system.
They are like a chroot environment with its own filesystem, network stack, and process tree. They are similar to a virtual machine, but they use the same kernel as the host operating system.

Basically a docker is a container wherein you can set up and run a complete environment without impacting your primary OS. After using these scripts, you will have set up several linux images, each designed to cross compile Godot for a particular platform with officially designated, compatible versions of compilers, sdks and libraries.

Expand Down Expand Up @@ -36,7 +36,8 @@ Basically a docker is a container wherein you can set up and run a complete envi
1. Once build.sh completes, check your images. You can usally replace the command `podman` with `docker` if you installed the latter.
```
$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/godot-android latest 8b894fa58db3 1 hour ago 12.8 GB
localhost/godot-ubuntu-64 latest 45ecfc4e4fa0 9 hours ago 1.11 GB
localhost/godot-ubuntu-32 latest fbc92a88f15a 10 hours ago 1.05 GB
localhost/godot-windows latest 1f3e021fa80b 10 hours ago 3.38 GB
Expand Down Expand Up @@ -66,7 +67,7 @@ Basically a docker is a container wherein you can set up and run a complete envi
```
or you could run it all in one command:

`podman run --rm -v /home/user/godot:/root/godot godot-windows /bin/sh -c 'cd godot && scons -j8 p=windows bits=64 tools=yes target=release_debug module_mono_enabled=yes mono_static=yes mono_glue=yes copy_mono_root=yes mono_prefix=/root/dependencies/mono-64'`
`podman run --rm -v /home/user/godot:/root/godot godot-windows scons -j8 -C godot p=windows bits=64 tools=yes target=release_debug module_mono_enabled=yes mono_static=yes mono_glue=yes copy_mono_root=yes mono_prefix=/root/dependencies/mono-64`


1. You can simultaneously access the files in your godot directory from either inside the docker shell, or from your host OS. For instance, to grab the executables from the bin directory.
Expand Down

0 comments on commit 989058b

Please sign in to comment.