simplify dockerfile
simplify checks