nginxinc/nginx-ldap-auth

Unable to build docker file

0xrgg opened this issue · 0 comments

0xrgg commented

Hey,
I'm encountering an issue while trying to run the build command in the documentation. The system is running on CentOS7 (I believe it's 7.7). I've tried both commands I could find in regards to building this and am facing the same error message. I'm not particularly seasoned in Docker so I'm probably just using an obsolete syntax or something but can't seem to find anything online

docker build -t nginx-ldap-auth-daemon --build-arg PYTHON_VERSION=3 . Sending build context to Docker daemon 210.9 kB Step 1/7 : ARG PYTHON_VERSION=2 Please provide a source image with fromprior to commit

docker build -f Dockerfile.test -t my-tag --build-arg PYTHON_VERSION=3 . Sending build context to Docker daemon 210.9 kB Step 1/17 : ARG PYTHON_VERSION=2 Please provide a source image with fromprior to commit