The Warrior is a virtual machine appliance used by volunteers to participate in projects.
The Warrior image is built off Alpine Linux 3.6.2:
- kernel 4.9.32
- the virtual machine image is prepared using the
stage.shscript and contains a pre-installed
/root/boot.shscript that downloads and boots the warrior.
The warrior itself runs in a docker container running Ubuntu 16.04 that contains
- Python 3.5.2, pip 8.1.1
- Perl v5.22.1
- gcc 5.4.0, make 4.1, bash 4.3.48
- curl 7.47.0
The virtual machine is self-updating. It does the following:
- Start the virtual machine
- Linux boots
boot.shdownloads and launches
startup.shprepares and runs a docker container with the warrior runner
- Point your web browser to http://localhost:8001 and go.
Logging into the Warrior
To log into the warrior,
- Press Alt+F3 (or press Alt+Right).
- The username is
rootand the password is
- You are now logged in as root.
- Check the docker container with
docker ps. This will give you docker container identifier, among others.
- Enter the inside of the docker container with
docker exec -it identifier /bin/bash
Testing Core Warrior Code
Since the Warrior pulls from GitHub, it is important to commit only stable changes into the
master branch. Recommended Git branching practices use a development branch.
To test core Warrior code, you can switch from the
master branch to the
development branch. The Warrior will fetch the corresponding seesaw-kit repository branch.
To change branches,
- Log in as root
sudo -u warrior git checkout development
By the same route you can return your warrior to the
The code for each project is stored in