As explained in the Dockerfile tutorial with the Sinatra example, this image should be smaller by using Debian instead of Ubuntu, and indeed it is: 197 MB versus 452 MB