156 lines
4.7 KiB
Plaintext
156 lines
4.7 KiB
Plaintext
# Use an official Ubuntu base image
|
|
FROM ubuntu:latest
|
|
|
|
# Set environment variables to non-interactive
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install dependencies for adding repositories and downloading packages
|
|
RUN apt-get update && apt-get install -y \
|
|
software-properties-common \
|
|
&& add-apt-repository ppa:deadsnakes/ppa \
|
|
&& apt-get update
|
|
|
|
# Create a directory for downloading the packages
|
|
RUN mkdir -p /downloads
|
|
|
|
# Download Python 3.10 and specified packages without installing them
|
|
# Replace 'package1 package2 package3' with the packages you need
|
|
RUN apt-get install --download-only -y -o Dir::Cache::archives=/downloads \
|
|
python3.10 \
|
|
python3-pip \
|
|
python3-venv \
|
|
python3-arrow \
|
|
python3-async-timeout \
|
|
python3-attr \
|
|
python3-bidict \
|
|
python3-blessed \
|
|
python3-blinker \
|
|
python3-cairocffi \
|
|
python3-cairosvg \
|
|
python3-certifi \
|
|
python3-cffi \
|
|
python3-click \
|
|
python3-cssselect2 \
|
|
python3-curtsies \
|
|
python3-defusedxml \
|
|
python3-dnspython \
|
|
python3-et-xmlfile \
|
|
python3-evdev \
|
|
python3-exceptiongroup \
|
|
python3-filetype \
|
|
python3-flask \
|
|
python3-flask-socketio \
|
|
python3-gitdb \
|
|
python3-gitpython \
|
|
python3-greenlet \
|
|
python3-h11 \
|
|
python3-hid \
|
|
python3-hidapi \
|
|
python3-idna \
|
|
python3-importlib-metadata \
|
|
python3-iniconfig \
|
|
python3-isodate \
|
|
python3-itsdangerous \
|
|
python3-jinja2 \
|
|
python3-loguru \
|
|
python3-lxml \
|
|
python3-mako \
|
|
python3-markupsafe \
|
|
python3-memory-profiler \
|
|
python3-msgspec \
|
|
python3-nest-asyncio \
|
|
python3-networkx \
|
|
python3-nose \
|
|
python3-numpy \
|
|
python3-obs-websocket-py \
|
|
python3-opencv \
|
|
python3-openpyxl \
|
|
python3-packaging \
|
|
python3-pillow \
|
|
python3-pip \
|
|
python3-platformdirs \
|
|
python3-plotly \
|
|
python3-pluggy \
|
|
python3-prompt-toolkit \
|
|
python3-psutil \
|
|
python3-pycparser \
|
|
python3-pygments \
|
|
python3-pymongo \
|
|
python3-pynput \
|
|
python3-pypdf2 \
|
|
python3-pyqt5 \
|
|
python3-pyqt5-qt5 \
|
|
python3-pyqt5-sip \
|
|
python3-pyside6 \
|
|
python3-pyside6_Addons \
|
|
python3-PySide6_Essentials \
|
|
python3-pytest \
|
|
python3-dateutil \
|
|
python3-docx \
|
|
python3-python-docx \
|
|
python3-dotenv \
|
|
python3-engineio \
|
|
python3-gitlab \
|
|
python3-socketio \
|
|
python3-xlib \
|
|
python3-pyxdg \
|
|
python3-pyxinput \
|
|
python3-yaml \
|
|
python3-redis \
|
|
python3-requests \
|
|
python3-requests-file \
|
|
python3-requests-toolbelt \
|
|
python3-retrying \
|
|
python3-rq \
|
|
python3-rq-dashboard \
|
|
python3-send2trash \
|
|
python3-setuptools \
|
|
python3-shiboken6 \
|
|
python3-six \
|
|
python3-smmap \
|
|
python3-mongoengine \
|
|
python3-pandas \
|
|
python3-numpy \
|
|
python3-svn \
|
|
python3-tabulate \
|
|
python3-tenacity \
|
|
python3-urllib3 \
|
|
python3-wcwidth \
|
|
python3-webencodings \
|
|
python3-websocket \
|
|
python3-werkzeug \
|
|
python3-wheel \
|
|
python3-wsproto \
|
|
python3-zeep \
|
|
python3-zipp
|
|
|
|
# python3-certoffemails \
|
|
# python3-certoffpolarion \
|
|
# python3-certoffutils \
|
|
# python3-bpython \
|
|
# python3-charset-normalizer \
|
|
# python3-cwcwidth \
|
|
# python3-dash \
|
|
# python3-dash-core-components \
|
|
# python3-dash-html-components \
|
|
# python3-dash-table \
|
|
|
|
# python3-Redis-Sentinel-Url \
|
|
|
|
# python3-pytz \
|
|
# python3-simple-websocket \
|
|
# python3-tomli \
|
|
# python3-tomli-w \
|
|
# python3-types-python-dateutil \
|
|
# python3-typing_extensions \
|
|
|
|
# Set working directory
|
|
WORKDIR /downloads
|
|
|
|
# List the contents of the download directory
|
|
RUN ls -l /downloads
|
|
|
|
# Set entrypoint (optional)
|
|
CMD ["ls", "-l", "/downloads"]
|
|
|