File tree 4 files changed +16
-10
lines changed
flytekit-flyteinteractive
4 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ RUN apt-get update \
22
22
&& tar -xzf /tmp/code-server/code-server-4.19.0-linux-${TARGETARCH}.tar.gz -C /tmp/code-server/ \
23
23
&& wget --no-check-certificate https://open-vsx.org/api/ms-python/python/2023.20.0/file/ms-python.python-2023.20.0.vsix -P /tmp/code-server \
24
24
&& wget --no-check-certificate https://open-vsx.org/api/ms-toolsai/jupyter/2023.9.100/file/ms-toolsai.jupyter-2023.9.100.vsix -P /tmp/code-server \
25
- && pip install --no-cache-dir -U flytekitplugins-flyteinteractive==$VERSION flytekit==$VERSION \
25
+ && pip install --no-cache-dir uv \
26
+ && uv pip install --system --no-cache-dir -U flytekitplugins-flyteinteractive==$VERSION flytekit==$VERSION \
26
27
&& apt-get clean autoclean \
27
28
&& apt-get autoremove --yes \
28
29
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ \
Original file line number Diff line number Diff line change 1
- ARG PYTHON_VERSION
1
+ ARG PYTHON_VERSION=3.12
2
2
FROM python:${PYTHON_VERSION}-slim-bookworm
3
3
4
4
WORKDIR /root
@@ -8,7 +8,8 @@ ENV PYTHONPATH /root
8
8
9
9
ARG VERSION
10
10
11
- RUN pip install flytekitplugins-openai==$VERSION \
11
+ RUN pip install uv --no-cache-dir \
12
+ && uv pip install --system --no-cache-dir -U flytekitplugins-openai==$VERSION \
12
13
flytekit==$VERSION
13
14
14
15
RUN useradd -u 1000 flytekit
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
8
8
RUN apt-get update && apt-get install -y wget
9
9
10
10
ARG VERSION
11
- RUN pip install --no-cache-dir flytekitplugins-spark==$VERSION flytekit==$VERSION
11
+
12
+ RUN pip install uv --no-cache-dir \
13
+ && uv pip install --system --no-cache-dir -U flytekitplugins-spark==$VERSION flytekit==$VERSION
12
14
13
15
RUN wget https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.2.2/hadoop-aws-3.2.2.jar -P /opt/spark/jars && \
14
16
wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.262/aws-java-sdk-bundle-1.12.262.jar -P /opt/spark/jars
Original file line number Diff line number Diff line change 1
- ARG PYTHON_VERSION
1
+ ARG PYTHON_VERSION=3.12
2
2
FROM python:${PYTHON_VERSION}-slim-bookworm
3
3
4
4
WORKDIR /root
@@ -8,11 +8,13 @@ ENV PYTHONPATH /root
8
8
9
9
ARG VERSION
10
10
11
- RUN pip install sqlalchemy \
12
- psycopg2-binary \
13
- pymysql \
14
- flytekitplugins-sqlalchemy==$VERSION \
15
- flytekit==$VERSION
11
+ RUN pip install uv --no-cache-dir \
12
+ && uv pip install --system --no-cache-dir -U \
13
+ sqlalchemy \
14
+ psycopg2-binary \
15
+ pymysql \
16
+ flytekitplugins-sqlalchemy==$VERSION \
17
+ flytekit==$VERSION
16
18
17
19
RUN useradd -u 1000 flytekit
18
20
RUN chown flytekit: /root
You can’t perform that action at this time.
0 commit comments