File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ RUN apt-get update && \
9
9
apt-get install -y python3.10 python3-pip python3-venv && \
10
10
apt-get clean && \
11
11
rm -rf /var/lib/apt/lists/* && \
12
- python3 -m venv /home/devbox/project && \
12
+ ln -s /usr/bin/python3 /usr/bin/python && \
13
+ python -m venv /home/devbox/project && \
13
14
chown -R devbox:devbox /home/devbox/project && \
14
15
chmod -R u+rw /home/devbox/project && \
15
16
chmod -R +x /home/devbox/project/entrypoint.sh
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ RUN apt-get update && \
8
8
apt-get install -y python3.11 python3-pip python3-venv && \
9
9
apt-get clean && \
10
10
rm -rf /var/lib/apt/lists/* && \
11
- python3 -m venv /home/devbox/project && \
11
+ ln -s /usr/bin/python3 /usr/bin/python && \
12
+ python -m venv /home/devbox/project && \
12
13
chown -R devbox:devbox /home/devbox/project && \
13
14
chmod -R u+rw /home/devbox/project && \
14
15
chmod -R +x /home/devbox/project/entrypoint.sh
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ RUN apt-get update && \
8
8
apt-get install -y python3.12 python3-pip python3-venv && \
9
9
apt-get clean && \
10
10
rm -rf /var/lib/apt/lists/* && \
11
- python3 -m venv /home/devbox/project && \
11
+ ln -s /usr/bin/python3 /usr/bin/python && \
12
+ python -m venv /home/devbox/project && \
12
13
chown -R devbox:devbox /home/devbox/project && \
13
14
chmod -R u+rw /home/devbox/project && \
14
15
chmod -R +x /home/devbox/project/entrypoint.sh
You can’t perform that action at this time.
0 commit comments