simplify Dockerfile and test for resource limitation at index.docker.io