File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ RUN apt-get update && \
3636 curl -fL https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tgz -o Python-3.10.14.tgz && \
3737 tar -xf Python-3.10.14.tgz && \
3838 cd Python-3.10.14 && \
39- ./configure --enable-optimizations -- prefix=/usr/local \
39+ ./configure --prefix=/usr/local \
4040 --with-lto --enable-shared && \
4141 make -j"$(nproc)" && \
4242 make altinstall && \
@@ -46,10 +46,15 @@ RUN apt-get update && \
4646 cd / && rm -rf /tmp/Python-3.10.14*
4747
4848
49+ # Reinstall GLib development headers (workaround needed for gio/gio.h)
50+ RUN apt-get update && \
51+ apt-get install -y --no-install-recommends libglib2.0-dev
52+
53+ RUN python3 -m ensurepip --upgrade
54+
4955# PEP-517 needed for cryptography. Update pip
50- RUN python3 -m ensurepip --upgrade && \
51- python3 -m pip install --upgrade pip setuptools wheel packaging
52-
56+ RUN python3 -m pip install --upgrade pip setuptools wheel packaging
57+
5358# Install Rust for building `cryptography` python package when bootstraping pigweed
5459RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
5560ENV PATH="/root/.cargo/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments