bash get-latest.sh
bash build-latest.sh
docker login
docker push pedroterzero/oxce:"$(cat VERSION)"
docker push pedroterzero/oxce:latest
- Create a new empty directory and cd into it
- Create required folders
mkdir UFO TFTD config user
- Copy assets into
UFO/
orTFTD/
, or both (see https://www.ufopaedia.org/index.php/Installing_(OpenXcom)#All_platforms)
- Create the container
docker run \ --name oxce \ -e "MAP_UID=$(id -u)" \ -e "MAP_GID=$(id -g)" \ -e "PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native" \ -e DISPLAY \ -v "/tmp/.X11-unix:/tmp/.X11-unix:ro" \ -v "${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native:ro" \ -v "${HOME}/.config/pulse/cookie:/home/oxce/.config/pulse/cookie:ro" \ -v "${PWD}/config:/home/oxce/.config/openxcom" \ -v "${PWD}/UFO:/app/UFO" \ -v "${PWD}/TFTD:/app/TFTD" \ -v "${PWD}/user:/app/user" \ pedroterzero/oxce:latest
- Create the container
docker run \ --name oxce \ -e "PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native" \ -e DISPLAY \ -v "/tmp/.X11-unix:/tmp/.X11-unix:ro" \ -v "${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native:ro" \ -v "${HOME}/.config/pulse/cookie:/root/.config/pulse/cookie:ro" \ -v "${PWD}/config:/root/.config/openxcom" \ -v "${PWD}/UFO:/app/UFO" \ -v "${PWD}/TFTD:/app/TFTD" \ -v "${PWD}/user:/app/user" \ pedroterzero/oxce:rootless
docker start oxce
docker pull pedroterzero/oxce
docker rm -f oxce
Then recreate using command from initial setup.
docker pull pedroterzero/oxce:rootless
docker rm -f oxce
Then recreate using command from initial setup.