Dockerfile: refactor installations