1. The purpose of this post
Sometimes, when you build a docker images file, you would get this error:
3. The Dockerfile
Let’s see the Dockerfile that causes the problem:
4. The solution
You should not use ‘.’ in the Dockerfile, replace it with ‘_’, like this:
Now rebuild the docker image, everything works fine.