mirror of
https://github.com/nginxinc/nginx-ldap-auth.git
synced 2026-09-29 19:11:28 +02:00
Allow to select Python version at build
With this anyone can effectively use Python 2 or 3 using --build-arg The default version is 2.
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
FROM python:2-alpine
|
||||
ARG PYTHON_VERSION=2
|
||||
FROM python:${PYTHON_VERSION}-alpine
|
||||
|
||||
COPY nginx-ldap-auth-daemon.py /usr/src/app/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user