Skip to content

Commit 9168ad0

Browse files
committed
1 parent 39fbfc9 commit 9168ad0

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

Dockerfile_fedora36_py311/Dockerfile

+6-16
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,12 @@ FROM fedora:36
55
RUN dnf -y install gcc
66
RUN dnf -y install g++
77
RUN dnf -y install gdb
8+
RUN dnf -y install libffi-devel
9+
RUN dnf -y install openssl-devel
10+
RUN dnf -y install sqlite-devel
811
RUN dnf -y install git
12+
RUN dnf -y install vim
913
RUN dnf -y install qpdf-devel
10-
RUN dnf -y install python3.11
11-
RUN dnf -y install python3.11-devel
14+
# RUN dnf -y install python3.11-devel
1215

13-
# docker run --rm -v $HOME/forked/pybind11:/mounted_pybind11 -it fedora36_py311
14-
15-
# python3.11 -m venv env
16-
# source /env/bin/activate
17-
# python -m pip install --upgrade pip
18-
# python -m pip install pytest
19-
# python -m pip install IPython
20-
# python -m pip install sphinx sphinx_issues sphinx_design sphinx_rtd_theme
21-
# git clone https://github.com/pikepdf/pikepdf
22-
# cd pikepdf/
23-
# python -m pip install .
24-
# cd docs
25-
# /env/bin/sphinx-build . ../html
26-
# gdb /usr/bin/python3.11 core
16+
# docker run --rm -v $HOME:/ghome -it fedora36_py311
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
set -x
2+
tar zxvf /ghome/cpython-3.11-4f7f83b5bdd61f01a5ad49fb4df61cab3607ab99.tar.gz
3+
cd cpython-3.11-4f7f83b5bdd61f01a5ad49fb4df61cab3607ab99/
4+
./configure --prefix=/Python-3.11-4f7f83b5bdd61f01a5ad49fb4df61cab3607ab99
5+
make install -j 16
6+
cd ..
7+
/Python-3.11-4f7f83b5bdd61f01a5ad49fb4df61cab3607ab99/bin/python3.11 -m venv env
8+
source /env/bin/activate
9+
python -m pip install --upgrade pip
10+
python -m pip install pytest
11+
python -m pip install IPython
12+
python -m pip install sphinx sphinx_issues sphinx_design sphinx_rtd_theme
13+
git clone https://github.com/pikepdf/pikepdf
14+
cd pikepdf/
15+
python -m pip install .
16+
cd docs/
17+
/env/bin/sphinx-build . ../html

0 commit comments

Comments
 (0)