docker: fix problems in base image