|
@@ -14,12 +14,9 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
|
|
ARG LAUNCHER_VERSION=1.2.3
|
|
ARG LAUNCHER_VERSION=1.2.3
|
|
RUN mkdir --parents /toontown-rewritten/launcher \
|
|
RUN mkdir --parents /toontown-rewritten/launcher \
|
|
&& curl -L https://download.toontownrewritten.com/launcher/linux/TTRLinux-v${LAUNCHER_VERSION}.tar.gz \
|
|
&& curl -L https://download.toontownrewritten.com/launcher/linux/TTRLinux-v${LAUNCHER_VERSION}.tar.gz \
|
|
- | tar -x -v --strip-components 1 -C /toontown-rewritten/launcher/
|
|
|
|
-
|
|
|
|
-RUN useradd player
|
|
|
|
-RUN usermod --append --groups video,audio player
|
|
|
|
-
|
|
|
|
-RUN mkdir /toontown-rewritten/engine \
|
|
|
|
|
|
+ | tar -x -v --strip-components 1 -C /toontown-rewritten/launcher/ \
|
|
|
|
+ && useradd player \
|
|
|
|
+ && mkdir /toontown-rewritten/engine \
|
|
&& chown player /toontown-rewritten/engine
|
|
&& chown player /toontown-rewritten/engine
|
|
USER player
|
|
USER player
|
|
VOLUME /toontown-rewritten/engine
|
|
VOLUME /toontown-rewritten/engine
|