jmjjg / cloudooo

XML-RPC document conversion server ( Mirror of https://lab.nexedi.com/nexedi/cloudooo ; Please submit patches and issues there )
Other
0 stars 0 forks source link

Python 3 compatibility #2

Open jmjjg opened 1 year ago

jmjjg commented 1 year ago

#RUN apt update \
#    && apt install -y \
#        2to3=3.8.2-0ubuntu2 \
#        python3-libxml2=2.9.10+dfsg-5ubuntu0.20.04.4 \
#        python3-lxml=4.5.0-1ubuntu0.5 \
#        python3-psutil=5.5.1-1ubuntu4 \
#        python3-setuptools=45.2.0-1 \
#        python3-zope.interface=4.7.1-1 \
#        python3.8=3.8.10-0ubuntu1~20.04.5 \
#        python3.8-dev=3.8.10-0ubuntu1~20.04.5

# 2to3-2.7 --write --nobackups .
# @todo: test python2 and python3
#RUN python3 setup.py install

# @todo: group apt install then delete
RUN rm -r /var/lib/apt/lists/*

# @fixme for python3
#CMD /usr/local/bin/paster serve /etc/cloudooo.conf --daemon --pid-file /var/run/cloudooo.pid --log-file=/var/log/cloudooo.log && tail -f /var/log/cloudooo.log
``