forked from RepoMirrors/baritone
smaller
This commit is contained in:
parent
805b870d7d
commit
3d63abe950
|
@ -10,4 +10,4 @@ install: true
|
|||
script:
|
||||
- docker build -t cabaletta/baritone .
|
||||
- docker run cabaletta/baritone /bin/sh -c "./gradlew test"
|
||||
- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render; DISPLAY=:99 ./gradlew run"
|
||||
- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 128x128x24 -ac +extension GLX +render; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient"
|
|
@ -15,6 +15,8 @@ RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr
|
|||
|
||||
ADD . /code
|
||||
|
||||
RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle
|
||||
|
||||
RUN dpkg -i /code/xvfb_1.16.4-1_amd64.deb
|
||||
|
||||
WORKDIR /code
|
||||
|
|
Loading…
Reference in New Issue