Earlier quoted context omitted.
I did the very same thing 2 weeks ago! Out of curiosity, were you using the lambci image as a starting point?
No, this one. https://github.com/samoconnor/lambdalatex
They are using lambci as a starting point :)
https://github.com/samoconnor/lambdalatex/blob/master/Docker...