Public Repository

Last pushed: 16 days ago
Short Description
Docker designed for building and testing new versions of Koverse code
Full Description

This container is designed to allow devs to edit and build Koverse on a Mac and run and test inside the linux container environment.

Start the container via:

docker run -ti -h koversevm -v /Users/[username]/Code/Koverse/trunk:/home/koverse/code -P -p 8080:8080 -p 8088:8088 -p 8042:8042 -p 18080:18080 -p 4040:4040 -p 19888:19888 -p 50095:50095 acordova/dev:latest /etc/bootstrap.sh -bash

Outside the container, build the code via:

./build-all.sh

Then test by running the following in the container:

reset
su koverse
cd ~/code
./start-server.sh &
./start-webapp.sh &

If you need to debug using firefox running in the container, start up XQuartz and in it run

socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"

Then run the container via

docker run -ti -h koversevm -v /Users/[username]/Code/Koverse/trunk:/home/koverse/code -P -p 8080:8080 -p 8088:8088 -p 8042:8042 -p 18080:18080 -p 4040:4040 -p 19888:19888 -p 50095:50095 -e DISPLAY=[your IP]:0 acordova/dev:latest /etc/bootstrap.sh -bash

To run firefox for debugging YARN logs, then run

firefox

Docker Pull Command
Owner
acordova

Comments (0)