fix dockerfile
This commit is contained in:
		| @@ -11,8 +11,8 @@ install: | ||||
| - docker build -t cabaletta/baritone . | ||||
|  | ||||
| script: | ||||
| - 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; sh scripts/build.sh" | ||||
| - docker cp $(docker ps -a -q):/code/dist dist | ||||
| - docker run --name baritone 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; sh scripts/build.sh; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient" | ||||
| - docker cp baritone:/code/dist dist | ||||
| - ls dist | ||||
|  | ||||
| deploy: | ||||
|   | ||||
| @@ -13,6 +13,8 @@ RUN apt install --target-release jessie-backports \ | ||||
|  | ||||
| RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common | ||||
|  | ||||
| RUN apt install -qq --force-yes unzip wget | ||||
|  | ||||
| ADD . /code | ||||
|  | ||||
| RUN echo "\nrunClient {\nargs \"--width\",\"128\",\"--height\",\"128\"\n}" >> /code/build.gradle | ||||
|   | ||||
		Reference in New Issue
	
	Block a user