BuildWise CT Server in Docker
Set up a BuildWise Continuous Testing server in a Docker container.
4 min readNov 15, 2022
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
- Use Docker’s base image: ruby
It comes with Debian Linux and Ruby pre-installed. - Download and unzip BuildWise to a specific folder
In this case, I unzipped BuildWise to/var/www/sinatra
. - Install the gems (libraries) required by the BuildWise server
Runbundle install
. - Start the BuildWise server
I am running the server on container port 80. - For demo purposes, I’ve cloned a test project from Github
Cloned the project to~/work/projects/buildwise-samples
- 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…