For some reason the package locales is not in the ubuntu base image anymore, so we have to add it in order to get the images build.
This is related to this error: