Got a tar ball ;)

This commit is contained in:
Denis Rouleau 2024-09-09 17:20:31 -04:00
parent 9cedf36d4b
commit 81dcc35670
522 changed files with 3409 additions and 15 deletions

View File

@ -1,3 +1,4 @@
# Use Ubuntu 22.04 as the base image
FROM ubuntu:22.04
@ -10,25 +11,67 @@ RUN apt-get update && apt-get install -y \
wget \
&& apt-get clean
# Create a directory to store downloaded packages
RUN mkdir -p /downloads/info/tools
# 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
# Update the package list and install dependencies for building Python from source
RUN apt-get update && \
apt-get install -y apt-offline
apt-get install -y \
build-essential \
wget \
libssl-dev \
zlib1g-dev \
libncurses5-dev \
libnss3-dev \
libsqlite3-dev \
libreadline-dev \
libffi-dev \
curl \
libbz2-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Download Python 3.10.12 source code
RUN wget https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tgz && \
tar -xvf Python-3.10.12.tgz
# Build and install Python 3.10.12 from source
WORKDIR Python-3.10.12
RUN ./configure --enable-optimizations && \
make -j$(nproc) && \
make altinstall
# Verify the Python installation
RUN python3.10 --version
CMD ["bash"]
# Set Python 3.10.12 as the default Python
RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.10 1
#RUN apt-offline set ~/apt-offline.sig
RUN apt-get update && \
apt-get install -y git tree vim
#RUN mkdir /libraries
#WORKDIR /libraries
#CMD ["/lsb_release"]
# Create a directory to store downloaded packages
RUN mkdir -p /downloads/info/tools
# Set working directory
WORKDIR /app
## Set Python3 as the default python command
#RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
# RUN apt-offline set ~/apt-offline.sig
RUN mkdir -p /downloads/shared_downloads_dir
RUN mkdir /libraries
WORKDIR /libraries
#RUN git clone https://bitbucket.wrs.com/scm/ct/cdad-generator.git /libraries
#COPY ./mydev/libraries/* /libraries/
@ -39,14 +82,16 @@ RUN ls -l /downloads
WORKDIR /downloads
# copy the packages into the container
#COPY ./downloaded_packages/*deb /downloads
COPY ./downloaded_packages/*deb /downloads
COPY ./info/ /downloads/info/
COPY ./info_fromDocker/ /downloads/info_fromDocker/
COPY ./clones/ /downloads/clones/
#WORKDIR /downloads/info/tools
#RUN /bin/bash ./install_co_libraries.sh
#
# Set entrypoint (optional)
CMD ["bash"]

Binary file not shown.

@ -0,0 +1 @@
Subproject commit 088989a57fb4b74e49bb5463ac3e89e86bbd8b59

@ -0,0 +1 @@
Subproject commit b331603a50897e93e6cae8f2968513886c7e9273

@ -0,0 +1 @@
Subproject commit d511a25a18f3effcfe45d4df8999484de6d18ca6

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
shared/packages/lock Executable file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More