File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ubuntu:bionic
1+ FROM ubuntu:noble
22
33RUN apt-get update \
44 && apt-get install -y --no-install-recommends \
5- python -pip python -setuptools python -wheel \
5+ python3 -pip python3 -setuptools python3 -wheel \
66 locales tzdata \
77 ca-certificates \
88 strace gdb lsof locate net-tools htop iputils-ping dnsutils \
9- python2.7 -dbg python2.7 libpython2.7 python-dbg libpython -dbg \
9+ python3 -dbg libpython3 -dbg \
1010 curl nano vim tree less telnet patch \
1111 graphviz sqlite3 \
1212 dumb-init \
@@ -25,9 +25,9 @@ WORKDIR /planet
2525ENTRYPOINT ["dumb-init" ]
2626
2727RUN echo "#!/bin/bash -eux \n \
28- python2.7 code/planet.py config/config.ini \n \
28+ python3.12 code/planet.py config/config.ini \n \
2929cd /srv/planetpython.org/ \n \
30- python2.7 -mSimpleHTTPServer 8080 \n \
30+ python3.12 -m http.server 8080 \n \
3131" > /start.sh
3232RUN chmod +x /start.sh
3333EXPOSE 8080
You can’t perform that action at this time.
0 commit comments