File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ ENV PYTHONUNBUFFERED=1 \
30
30
# Used to build deps + create our virtual environment
31
31
# ###############################
32
32
FROM python-base AS builder-base
33
+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
34
+
33
35
RUN apt-get update && \
34
36
apt-get install -y curl bash-completion \
35
37
software-properties-common \
@@ -40,19 +42,10 @@ RUN apt-get update && \
40
42
apt-get clean && \
41
43
rm -rf /var/lib/apt/lists/*
42
44
43
- ENV PATH="/root/.rye/bin:$PATH"
44
- ENV RYE_INSTALL_OPTION="--yes"
45
- ENV SHELL="/bin/bash"
46
-
47
-
48
- # Download and install rye with proper link
49
- RUN curl -sSf https://rye.astral.sh/get | bash
50
-
51
- # Source rye environment
52
- RUN echo 'source $HOME/.rye/env' >> /root/.profile
53
- RUN echo 'source "$HOME/.rye/env"' >> ~/.bashrc
45
+ RUN curl -fsSL https://get.docker.com | sh
54
46
55
47
# Expose the port used by code-server
56
48
EXPOSE 8443
57
49
50
+
58
51
RUN /app/code-server/bin/code-server --install-extension ms-python.python
You can’t perform that action at this time.
0 commit comments