Best way to install new interpreter?

I’ve got a bunch of Racket code that I want to run CI against, but I doubt Racket is installed on the CI machine. What’s the best way to make it available so that I can use it? Should I be setting up a Docker instance or is there a quicker way?