Builds a Docker image for Jenkins