Adding files from laptop
This commit is contained in:
parent
6b24c6b25d
commit
33265b28ef
44
Dockerfile
Normal file
44
Dockerfile
Normal file
@ -0,0 +1,44 @@
|
||||
# Use Ubuntu 22.04 as the base image
|
||||
FROM ubuntu:22.04
|
||||
|
||||
# Set environment variables to non-interactive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Update package lists and install necessary tools
|
||||
RUN apt-get update && apt-get install -y \
|
||||
apt-utils \
|
||||
wget \
|
||||
&& apt-get clean
|
||||
|
||||
# Create a directory to store downloaded packages
|
||||
RUN mkdir -p /downloads
|
||||
|
||||
# Download Python packages and their dependencies
|
||||
# Replace 'python3-requests python3-numpy' with the packages you need
|
||||
RUN apt-get update && \
|
||||
apt-get download -o=dir::cache=/downloads python3-requests python3-numpy
|
||||
|
||||
# Download Python packages and their dependencies
|
||||
# Replace 'python3-requests python3-numpy' with the packages you need
|
||||
RUN apt-get update && \
|
||||
apt-get install -y apt-offline
|
||||
|
||||
#RUN apt-offline set ~/apt-offline.sig
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git
|
||||
|
||||
RUN mkdir /libraries
|
||||
WORKDIR /libraries
|
||||
#COPY /home/drouleau/mydev/libraries/* /libraries
|
||||
|
||||
# List the contents of the download directory
|
||||
RUN ls -l /downloads
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /downloads
|
||||
|
||||
# copy the packages into the container
|
||||
COPY ./downloaded_packages/*deb /downloads
|
||||
|
||||
# Set entrypoint (optional)
|
||||
CMD ["bash"]
|
||||
155
dockerfile.01
Normal file
155
dockerfile.01
Normal file
@ -0,0 +1,155 @@
|
||||
# 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"]
|
||||
|
||||
29
get_package.sh
Executable file
29
get_package.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#! /bin/bash
|
||||
# gets packages from UBUNTU repo
|
||||
|
||||
INFILE=$1
|
||||
OUTDIR="./downloaded_packages"
|
||||
# DL if not blank
|
||||
DL="yes"
|
||||
mkdir ${OUTDIR}
|
||||
|
||||
|
||||
apt-get update && apt-get install -y \
|
||||
software-properties-common \
|
||||
&& add-apt-repository ppa:deadsnakes/ppa \
|
||||
&& apt-get update
|
||||
|
||||
|
||||
|
||||
grep -v '^ *#' < "${INFILE}" | while IFS= read -r package
|
||||
do
|
||||
ubuntu_package=$(apt-cache search "python3-$package" | grep "^python3-$package " | cut -d' ' -f1)
|
||||
if [ -n "$ubuntu_package" ]; then
|
||||
if [ -n "$DL" ]; then
|
||||
echo "$package -> $ubuntu_package"
|
||||
sudo -S apt-get install -y --download-only -o Dir::Cache::archives="${OUTDIR}" "${ubuntu_package}"
|
||||
fi
|
||||
else
|
||||
echo "$package -> No corresponding Ubuntu package found"
|
||||
fi
|
||||
done
|
||||
208
packages.p1certdb03.txt
Normal file
208
packages.p1certdb03.txt
Normal file
@ -0,0 +1,208 @@
|
||||
apparmor
|
||||
appdirs
|
||||
argcomplete
|
||||
arrow
|
||||
async-timeout
|
||||
attrs
|
||||
Automat
|
||||
Babel
|
||||
bcrypt
|
||||
beautifulsoup4
|
||||
beniget
|
||||
blessed
|
||||
blessings
|
||||
blinker
|
||||
bottle
|
||||
Bottleneck
|
||||
bpython
|
||||
Brotli
|
||||
cached-property
|
||||
cairocffi
|
||||
CairoSVG
|
||||
certifi
|
||||
cffi
|
||||
chardet
|
||||
charset-normalizer
|
||||
click
|
||||
click-didyoumean
|
||||
colorama
|
||||
command-not-found
|
||||
configobj
|
||||
constantly
|
||||
cryptography
|
||||
cssselect2
|
||||
curtsies
|
||||
cwcwidth
|
||||
cycler
|
||||
dbus-python
|
||||
decorator
|
||||
defusedxml
|
||||
Deprecated
|
||||
distro
|
||||
distro-info
|
||||
dnspython
|
||||
email-validator
|
||||
et-xmlfile
|
||||
evdev
|
||||
eventlet
|
||||
filetype
|
||||
Flask
|
||||
Flask-Login
|
||||
flask-mongoengine
|
||||
Flask-WTF
|
||||
fonttools
|
||||
freezegun
|
||||
fs
|
||||
gast
|
||||
graphviz
|
||||
greenlet
|
||||
gunicorn
|
||||
html5lib
|
||||
httplib2
|
||||
hyperlink
|
||||
idna
|
||||
importlib-metadata
|
||||
incremental
|
||||
iniconfig
|
||||
isodate
|
||||
itsdangerous
|
||||
jdcal
|
||||
jedi
|
||||
jeepney
|
||||
Jinja2
|
||||
jsonpatch
|
||||
jsonpointer
|
||||
jsonschema
|
||||
keyring
|
||||
kiwisolver
|
||||
launchpadlib
|
||||
lazr.restfulclient
|
||||
lazr.uri
|
||||
LibAppArmor
|
||||
livereload
|
||||
llvmlite
|
||||
lxml
|
||||
lz4
|
||||
Mako
|
||||
Markdown
|
||||
MarkupSafe
|
||||
matplotlib
|
||||
memory-profiler
|
||||
mkdocs
|
||||
mock
|
||||
mongoengine
|
||||
more-itertools
|
||||
mpmath
|
||||
netifaces
|
||||
networkx
|
||||
nose
|
||||
numba
|
||||
numexpr
|
||||
numpy
|
||||
oauthlib
|
||||
odfpy
|
||||
olefile
|
||||
openpyxl
|
||||
packaging
|
||||
pandas
|
||||
parso
|
||||
pbr
|
||||
pexpect
|
||||
Pillow
|
||||
pip
|
||||
pipx
|
||||
platformdirs
|
||||
pluggy
|
||||
ply
|
||||
psutil
|
||||
ptyprocess
|
||||
py
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
pycparser
|
||||
Pygments
|
||||
PyGObject
|
||||
PyHamcrest
|
||||
pyinotify
|
||||
PyJWT
|
||||
pymongo
|
||||
pynput
|
||||
pyOpenSSL
|
||||
pypandoc
|
||||
pyparsing
|
||||
pyperclip
|
||||
PyQt5
|
||||
PyQt5-sip
|
||||
PyQtWebEngine
|
||||
pyrsistent
|
||||
pyserial
|
||||
pysrt
|
||||
pysvn
|
||||
pytest
|
||||
python-apt
|
||||
python-dateutil
|
||||
python-debian
|
||||
python-docx
|
||||
python-dotenv
|
||||
python-gitla
|
||||
python-magic
|
||||
python-xlib
|
||||
pythran
|
||||
pytz
|
||||
pytzdata
|
||||
pyxdg
|
||||
PyYAML
|
||||
QtPy
|
||||
redis
|
||||
requests
|
||||
requests-file
|
||||
requests-toolbelt
|
||||
rq
|
||||
scipy
|
||||
SecretStorage
|
||||
service-identity
|
||||
setuptools
|
||||
simplejson
|
||||
six
|
||||
sos
|
||||
soupsieve
|
||||
ssh-import-id
|
||||
sympy
|
||||
systemd-python
|
||||
tables
|
||||
tabulate
|
||||
tinycss2
|
||||
toml
|
||||
tornado
|
||||
tqdm
|
||||
Twisted
|
||||
typing-extensions
|
||||
ubuntu-drivers-common
|
||||
ubuntu-pro-client
|
||||
ufoLib2
|
||||
ufw
|
||||
unattended-upgrades
|
||||
unicodedata2
|
||||
urllib3
|
||||
userpath
|
||||
wadllib
|
||||
waitress
|
||||
watchdo
|
||||
wcwidth
|
||||
webencodings
|
||||
websockets
|
||||
Werkzeug
|
||||
wheel
|
||||
wrapt
|
||||
WTForms
|
||||
xcffib
|
||||
xdg
|
||||
xkit
|
||||
xlrd
|
||||
xlwt
|
||||
zeep
|
||||
zipp
|
||||
zope.interface
|
||||
drouleau@cn-p1certdb03
|
||||
|
||||
|
||||
87
packages_list.aws.txt
Normal file
87
packages_list.aws.txt
Normal file
@ -0,0 +1,87 @@
|
||||
appdirs
|
||||
attr
|
||||
bottle
|
||||
bs4
|
||||
cacheaudit
|
||||
cached-property
|
||||
certifi
|
||||
certoffemails
|
||||
certofffcbo
|
||||
certoffgraph
|
||||
certoffmongo
|
||||
certoffpolarion
|
||||
certoffsymbols
|
||||
certoffutils
|
||||
cffi
|
||||
chardet
|
||||
charset-normalizer
|
||||
click
|
||||
colorama
|
||||
cryptography
|
||||
cycler
|
||||
cython
|
||||
debugpy
|
||||
defusedxml
|
||||
deprecated
|
||||
dnspython
|
||||
et-xmlfile
|
||||
eventlet
|
||||
flask
|
||||
flask-login
|
||||
flask-mongoengine
|
||||
flask-wtf
|
||||
gitlab
|
||||
greenlet
|
||||
gunicorn
|
||||
html-diff
|
||||
idna
|
||||
importlib-metadata
|
||||
isodate
|
||||
itsdangerous
|
||||
jdcal
|
||||
jeepney
|
||||
jinja2
|
||||
kiwisolver
|
||||
lxml
|
||||
mako
|
||||
markupsafe
|
||||
matplotlib
|
||||
mongoengine
|
||||
nose
|
||||
numpy
|
||||
openpyxl
|
||||
packaging
|
||||
pandas
|
||||
pillow
|
||||
pip
|
||||
platformdirs
|
||||
pycparser
|
||||
pymongo
|
||||
pypandoc
|
||||
pyparsing
|
||||
dateutil
|
||||
docx
|
||||
gitlab
|
||||
pytz
|
||||
pyyaml
|
||||
redis
|
||||
requests
|
||||
requests-file
|
||||
requests-toolbelt
|
||||
secretstorage
|
||||
setuptools
|
||||
six
|
||||
soupsieve
|
||||
svn
|
||||
tabulate
|
||||
typing_extensions
|
||||
urllib3
|
||||
waitress
|
||||
werkzeug
|
||||
wheel
|
||||
wrapt
|
||||
wtforms
|
||||
xlrd
|
||||
xmldiff
|
||||
zeep
|
||||
zipp
|
||||
13
stup_docker_apt_repo.sh
Executable file
13
stup_docker_apt_repo.sh
Executable file
@ -0,0 +1,13 @@
|
||||
# Add Docker's official GPG key:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ca-certificates curl
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
# Add the repository to Apt sources:
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
|
||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
sudo apt-get update
|
||||
Loading…
x
Reference in New Issue
Block a user