Skip to content

Building Evaluator Images on Docker Hub

fonglh edited this page Jan 9, 2019 · 1 revision

The evaluator images are built by Docker Hub. For Python, each Python version is given a Docker tag. When a new Dockerfile is added to build an image for a new version of Python, the build settings on Docker Hub must be updated so an image for the new tag is built.

Adding a new Python Image

  1. In the coursemology organization, go to the coursemology/evaluator-image-python repository, then go to the Builds tab to find the build settings.

  2. Add a new Build Rule with the Dockerfile location and the tag name for the new Python version.

  3. Save the changes, trigger the build then wait for it to finish.

Pull the Image to the Workers

To prevent a long delay the first time someone uses the new image, SSH into the Sidekiq workers and pull the image first.

sudo docker pull coursemology/evaluator-image-python:3.7

Clone this wiki locally