Skip to content

Instantly share code, notes, and snippets.

@hradec
Last active May 16, 2020 22:38
Show Gist options
  • Select an option

  • Save hradec/7336d8cfcfd56451a7eb9c4431414f7b to your computer and use it in GitHub Desktop.

Select an option

Save hradec/7336d8cfcfd56451a7eb9c4431414f7b to your computer and use it in GitHub Desktop.
run ue4-docker without installing anything!
#!/bin/bash
if [ ! -e env/bin/ue4-docker ] ; then
python3 -m venv env
source env/bin/activate
pip3 install ue4-docker
deactivate
fi
source env/bin/activate
ue4-docker "$@"
deactivate
@hradec

hradec commented May 16, 2020

Copy link
Copy Markdown
Author

Save this gist as ue4-docker, chmod a+x it and use as you normally would use ue4-docker. ex:

./ue4-docker build 4.21.2 --cuda=9.2 --pull-prerequisites

It will self-install the actual ue4-docker in a python virtual environment in the current folder, and run ue4docker from it.
You only need to have python 3 installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment