The procedure is three-staged, first level image contains base debian image, on top of that dependencies are installed, and in the final layer, we install Matlab. Actually, sudo is again needed, ...