Fix docker build bug

pool is cool. I fixed two bugs when building docker image.