Merge 195f6981b1 into b5de9a539c
				
					
				
			This commit is contained in:
		
						commit
						eb8879a92b
					
				|  | @ -0,0 +1,17 @@ | |||
| FROM python:2-alpine | ||||
| 
 | ||||
| COPY nginx-ldap-auth-daemon.py /usr/src/app/ | ||||
| 
 | ||||
| WORKDIR /usr/src/app/ | ||||
| 
 | ||||
| # Install required software | ||||
| RUN \ | ||||
|     apk --no-cache add openldap-dev && \ | ||||
|     apk --no-cache add --virtual build-dependencies build-base && \ | ||||
|     pip install python-ldap && \ | ||||
|     apk del build-dependencies | ||||
| 
 | ||||
| EXPOSE 8888 | ||||
| 
 | ||||
| CMD ["python", "/usr/src/app/nginx-ldap-auth-daemon.py"] | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue