File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
camel/interpreters/docker Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2- FROM ubuntu:24.04@sha256:c35e29c9450151419d9448b0fd75374fec4fff364a27f176fb458d472dfc9e54
2+ FROM ubuntu:24.04
33
44ENV DEBIAN_FRONTEND=noninteractive
55
@@ -23,13 +23,18 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
2323 python3.10 \
2424 python3.10-venv \
2525 python3.10-dev \
26- python3.10-distutils \
27- python3-pip \
28- && ln -s /usr/bin/python3.10 /usr/bin/python \
2926 && rm -rf /var/lib/apt/lists/* \
3027 && apt-get clean \
3128 && apt-get autoremove -y
3229
30+ RUN python3.10 -m venv /opt/venv
31+ ENV PATH="/opt/venv/bin:$PATH"
32+
33+ RUN pip install --upgrade pip setuptools wheel
34+ RUN pip install uv
35+
36+ RUN ln -sf /opt/venv/bin/python /usr/bin/python
37+
3338RUN apt-get update && \
3439 apt-get install -y r-base && \
3540 rm -rf /var/lib/apt/lists/* && \
@@ -42,12 +47,9 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
4247 apt-get clean && \
4348 apt-get autoremove -y
4449
45- RUN curl -fsSL https://install.python-poetry.org | python3.10 - && \
50+ RUN curl -fsSL https://install.python-poetry.org | python - && \
4651 ln -s ~/.local/bin/poetry /usr/local/bin/poetry
4752
48- RUN python3.10 -m pip install --upgrade pip setuptools wheel
49- RUN pip install uv
50-
5153RUN groupadd -r devuser && useradd -r -m -g devuser devuser
5254WORKDIR /workspace
5355RUN chown -R devuser:devuser /workspace
You can’t perform that action at this time.
0 commit comments