Commit d0e80bf7 authored by Robert Szulist's avatar Robert Szulist
Browse files

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.
parent 6fad4f37
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
FROM python:2-alpine
ARG PYTHON_VERSION=2
FROM python:${PYTHON_VERSION}-alpine

COPY nginx-ldap-auth-daemon.py /usr/src/app/