Skip to content

Instantly share code, notes, and snippets.

@Nakilon
Created October 19, 2021 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nakilon/d90633ad22ff044b6a01ecb1aac384be to your computer and use it in GitHub Desktop.
Save Nakilon/d90633ad22ff044b6a01ecb1aac384be to your computer and use it in GitHub Desktop.
cdda in docker on ubuntu
FROM ubuntu
RUN apt-get update && apt install -y cataclysm-dda-curses
CMD /usr/games/cataclysm
sudo apt install -y docker.io
sudo apt-mark hold docker.io
sudo usermod -aG docker $USER
newgrp docker
docker build -t cdda . < Dockerfile
mkdir cdda
cd cdda
docker run --rm -ti --log-driver none -v $(pwd)/share:/root/.local/share/cataclysm-dda -v $(pwd)/config:/root/.config cdda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment