summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 88f2be5..be9d2a9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,11 @@
-FROM python:3.10-alpine AS build
+ARG PYTHON_FLAVOR=alpine
+FROM python:3.10-${PYTHON_FLAVOR} AS build
WORKDIR /opt/python-gitlab
COPY . .
RUN python setup.py bdist_wheel
-FROM python:3.10-alpine
+FROM python:3.10-${PYTHON_FLAVOR}
WORKDIR /opt/python-gitlab
COPY --from=build /opt/python-gitlab/dist dist/