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 0f5d727 commit 288fbc7Copy full SHA for 288fbc7
Dockerfile
@@ -15,13 +15,15 @@ RUN apt-get update \
15
&& rm -rf /var/lib/apt/lists/*
16
17
RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz \
18
- && tar -xvf Python-3.10.0.tgz \
19
- && cd Python-3.10.0 \
20
- && ./configure \
+ && tar -xvf Python-3.10.0.tgz
+
+WORKDIR Python-3.10.0
21
+RUN ./configure \
22
&& make \
- && make altinstall \
23
- && cd - \
24
- && ln -s /usr/local/bin/python3.10 /usr/bin/python \
+ && make altinstall
25
+WORKDIR /app
26
+RUN ln -s /usr/local/bin/python3.10 /usr/bin/python \
27
&& ln -s /usr/local/bin/pip3.10 /usr/bin/pip
28
29
ENV CC=gcc-13 CXX=g++-13
0 commit comments