Browse Source

merged apt-get calls

Fabian Peter Hammerle 6 years ago
parent
commit
2e41f2460c
1 changed files with 5 additions and 7 deletions
  1. 5 7
      Dockerfile

+ 5 - 7
Dockerfile

@@ -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