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:
parent
6fad4f3715
commit
d0e80bf79f
|
|
@ -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/
|
COPY nginx-ldap-auth-daemon.py /usr/src/app/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue