|
@@ -2,9 +2,11 @@ FROM ubuntu:latest
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
wget \
|
|
|
-# libxcb1 \
|
|
|
+ libxcb1 \
|
|
|
libgl1-mesa-glx \
|
|
|
- libopenal1
|
|
|
+ libopenal1 \
|
|
|
+ libxrandr2 \
|
|
|
+ libxcursor1
|
|
|
|
|
|
# download launcher
|
|
|
RUN wget -O /tmp/ttr.tar.gz \
|
|
@@ -17,9 +19,5 @@ RUN usermod --shell /bin/sh player
|
|
|
RUN usermod --append --groups video,audio player
|
|
|
RUN chown -R player /opt/ttr
|
|
|
|
|
|
-RUN apt-get install -y libxrandr2
|
|
|
-
|
|
|
-RUN apt-get install -y libxcursor1
|
|
|
-
|
|
|
USER player
|
|
|
-CMD whoami && cd /opt/ttr && ./Launcher
|
|
|
+CMD cd /opt/ttr && ./Launcher
|