Dockerfile 553 B

1234567891011121314151617181920212223
  1. FROM ubuntu:latest
  2. RUN apt-get update && apt-get install -y \
  3. wget \
  4. libxcb1 \
  5. libgl1-mesa-glx \
  6. libopenal1 \
  7. libxrandr2 \
  8. libxcursor1
  9. # download launcher
  10. RUN wget -O /tmp/ttr.tar.gz \
  11. https://download.toontownrewritten.com/launcher/linux/TTRLinux-v1.2.3.tar.gz
  12. RUN mkdir /opt/ttr
  13. RUN tar -x -v --strip-components 1 -C /opt/ttr -f /tmp/ttr.tar.gz
  14. RUN useradd player
  15. RUN usermod --shell /bin/sh player
  16. RUN usermod --append --groups video,audio player
  17. RUN chown -R player /opt/ttr
  18. USER player
  19. CMD cd /opt/ttr && ./Launcher