I like Docker. It's really cool having one way of running apps in multiple platforms without the headache of the whole installation process specific to each platforms (Windows, UNIX, GNU/Linux).
And I love proposing solutions to the Dev Challenges here using Elm. This also means that my code has to be 100% working. For me, this means working my way using test driven development (TDD).
TDD allows you to write tests ahead of development, defining your specs before you even write a single line of code so that the next time your start writing and testing your application, you know that you already have tests to pass before shipping your application.
So, for me, I needed a way to be able to run tests in a portable way. Be able to fire up a Docker container running the Elm Test binary and fly away like a falcon.
At first, I searched the Docker Hub for any existing package that was doing a similar job.
But they were either too heavy (500+ Mb for some), undocumented (or poorly), or just some drafts leftover in the abyss of the Hub.
But either way, I wasn't going to use some other people's package when I could take an opportunity to do it myself as a learning process.
So I created a Docker image for Elm Test.