Public | Automated Build

Last pushed: 2 months ago
Short Description
Docker image for Test Running Server Contains all language environment
Full Description

Code-Check test environment builder

This makes a virtual machine which has several programming languages.

Packages which installed by this.

  • java 8
  • node 0.12.x
    • nvm
    • npm
    • typescript
    • coffeescript
    • mocha
  • php 5.5
    • composer
  • ruby 2.2
  • scala 2.11.6
    • sbt 0.13.8
    • activator 1.3.2
  • python3
  • git 2.x
  • mysql 5.6


  • VirtualBox
  • Vagrant 1.7 or later
  • Ansible

Add ubunt1404 to vagrant box

vagrant box add ubuntu1404

And then make your own Vagrantfile and hosts.
For vagrant, you have Vagrantfile.sample. Also , hosts-vagrant, and hosts-local are provided for hosts sample file.
IP address setting for Vagrantfile.sample and hosts-vagrant are connected, so just running commands below would be an easiest way to start.

$ mv Vagrantfile{.sample,}
$ mv hosts{-vagrant,}

Export the private key path for GitHub and OS user name of guest PC.

export PRIVATE_KEY_PATH=~/.ssh/id_rsa
export OS_USER_NAME=vagrant

Make local environment

All roles are included in all.yml.
If you want to choose using roles, make your own yaml file.

git clone code-check-env
cd code-check-env
vagrant up
ansible-playbook all.yml


vagrant ssh

Trouble shooting

Use vagrant 1.7 or later

The location of ssh private key was changed from 1.7.
Check existence of .vagrant/machines/default/virtualbox/private_key

Maintain ~/.ssh/known_hosts

If you destroyed the virtual machine and recreate it.
Its host signature changes.
So, you have to remove existing host signature( from known_hosts.

Docker Pull Command
Source Repository