We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c67650 commit 5ec769bCopy full SHA for 5ec769b
Dockerfile
@@ -1,4 +1,7 @@
1
-FROM prefecthq/prefect:2.20.7-python3.12-kubernetes
+ARG PREFECT_VERSION=2.20.7
2
+ARG PYTHON_VERSION=3.12
3
+
4
+FROM prefecthq/prefect:$PREFECT_VERSION-python$PYTHON_VERSION-kubernetes
5
6
RUN pip install omnipy_examples
7
# RUN pip uninstall omnipy_examples -y
@@ -13,4 +16,4 @@ RUN set -eux; \
13
16
echo "de_DE.UTF-8 UTF-8" >> /etc/locale.gen; \
14
17
locale-gen; \
15
18
update-locale en_us.UTF-8;
-RUN ln -sf /usr/local/lib/python3.10/site-packages /opt/prefect/src
19
+RUN ln -sf /usr/local/lib/python$PYTHON_VERSION/site-packages /opt/prefect/src
0 commit comments