BuildWise CT Server in Docker

Set up a BuildWise Continuous Testing server in a Docker container.

Zhimin Zhan

--

A repost of my daughter’s article with permission. I added a few notes.

BuildWise is a free and open-source Continuous Testing server. I have used it in the past for uni and intern work. Running BuildWise in a Docker container may be helpful as you can skip all the manual set-up steps yourself. This article shows how to start up a BuildWise CT server in a Docker container.

Dockerfile’s Steps

  1. Use Docker’s base image: ruby
    It comes with Debian Linux and Ruby pre-installed.
  2. Download and unzip BuildWise to a specific folder
    In this case, I unzipped BuildWise to /var/www/sinatra.
  3. Install the gems (libraries) required by the BuildWise server
    Run bundle install.
  4. Start the BuildWise server
    I am running the server on container port 80.
  5. For demo purposes, I’ve cloned a test project from Github
    Cloned the project to ~/work/projects/buildwise-samples
  6. Start the BuildWise server when the container starts

Build & Run the container

docker build -f Dockerfile . -t "buildwise"; 
docker run -it -d -p 80:80 --name…

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.