nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
678 stars 202 forks source link

Unable to build docker file #75

Open orgg92 opened 4 years ago

orgg92 commented 4 years ago

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 withfromprior 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 withfromprior to commit