Docker with custom version of ruby and node.js

Anyone know of a good walkthrough on build packages in docker containers from source? I made a custom container by going through bash and doing the builds by hand but it seems a bit convoluted. This is my first forray into the world of docker.

Hi tomatotux,

You’ll want to create a Dockerfile:

Here’s a good video tutorial:
Edit:
Part 1: https://youtu.be/6nJu1oDxYvc
Part 2: https://youtu.be/6nJu1oDxYvc

Reference: