@@ -17,39 +17,25 @@ RUN yum -y groupinstall "Development Tools" && \
17
17
18
18
# Compile newer version of sqlite3
19
19
RUN cd ~ && \
20
- wget -q https://www. sqlite.org/2024 /sqlite-autoconf-3450100 .tar.gz && \
21
- tar -xzf sqlite-autoconf-3450100 .tar.gz && \
22
- cd sqlite-autoconf-3450100 && \
20
+ wget -q https://sqlite.org/2022 /sqlite-autoconf-3400100 .tar.gz && \
21
+ tar -xzf sqlite-autoconf-3400100 .tar.gz && \
22
+ cd sqlite-autoconf-3400100 && \
23
23
CFLAGS="-DSQLITE_MAX_VARIABLE_NUMBER=500000" ./configure --prefix=/usr/sqlite3 && \
24
24
make && \
25
25
make install && \
26
26
cd ~ && \
27
27
rm -rf ~/sqlite-autoconf*
28
28
29
- # Compile newer version of openssl \
30
- RUN cd ~ && \
31
- yum -y install perl-IPC-Cmd perl-Pod-Html && \
32
- wget -q https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz && \
33
- tar -xzf openssl-3.0.15.tar.gz && \
34
- cd openssl-3.0.15 && \
35
- ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl --libdir=lib no-ssl3 no-idea no-dtls no-srp no-comp shared && \
36
- make && \
37
- make install && \
38
- cd ~ && \
39
- rm -rf ~/openssl-3.0.15*
40
-
41
29
# Compile newer version of python3
42
- RUN yum -y install zlib-devel bzip2 bzip2-devel readline-devel tk-devel libffi-devel xz-devel && \
30
+ RUN yum -y install openssl openssl-devel zlib-devel bzip2 bzip2-devel readline-devel tk-devel libffi-devel xz-devel && \
43
31
cd ~ && \
44
32
# Set up pyenv \
45
- export PYTHON_CONFIGURE_OPTS="--with-openssl=/usr/local/ssl --with-openssl-rpath=auto --enable-shared --enable-optimizations" && \
46
33
git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
47
- pyenv install 3.11 --verbose && \
48
- pyenv global 3.11 && \
34
+ pyenv install 3.10 && \
35
+ pyenv global 3.10 && \
49
36
pip install --upgrade pip && \
50
37
pip install --no-cache-dir py3createtorrent awscli && \
51
- python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.45.1")' && \
52
- python3 -c 'import sys; import ssl; sys.exit(ssl.OPENSSL_VERSION_INFO != (3,0,0,15,0))' && \
38
+ python3 -c 'import sys; import sqlite3; sys.exit(sqlite3.sqlite_version != "3.40.1")' && \
53
39
yum clean all
54
40
55
41
# Add nodejs
0 commit comments