Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
FROM python:2-alpine
ARG PYTHON_VERSION=2
FROM python:${PYTHON_VERSION}-alpine
COPY nginx-ldap-auth-daemon.py /usr/src/app/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment