comparison scripts/Docker/Dockerfile @ 7040:60ea33643a01

Anchore Container Scan docker bulld is failing. The docker build is failing to build xapian. Fails with: -Wl,_xapianNone -o .libs/_xapianNone where None is should be shared object extension and some other changes. See changeset: 6725:f973fa5163ed in repo on date: Thu Jun 23 01:58:53 2022 -0400 for python 3.11 and newer. It looks like Anchore uses 3.11: checking /usr/local/bin/python3 version... 3.11 from earlier in the log.
author John Rouillard <rouilj@ieee.org>
date Sun, 06 Nov 2022 22:41:04 -0500
parents 4336e655b2be
children 0fc6e5d551b3
comparison
equal deleted inserted replaced
7039:1a241b01b699 7040:60ea33643a01
58 cd /tmp && \ 58 cd /tmp && \
59 wget https://oligarchy.co.uk/xapian/$VER/xapian-bindings-$VER.tar.xz && \ 59 wget https://oligarchy.co.uk/xapian/$VER/xapian-bindings-$VER.tar.xz && \
60 tar -Jxvf xapian-bindings-$VER.tar.xz && \ 60 tar -Jxvf xapian-bindings-$VER.tar.xz && \
61 cd xapian-bindings-$VER/ && \ 61 cd xapian-bindings-$VER/ && \
62 pip --no-cache-dir install sphinx && \ 62 pip --no-cache-dir install sphinx && \
63 sed -i -e '/PYTHON3_SO=/s/distutils\.//g' \
64 -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure && \
63 ./configure --prefix=/usr/local --with-python3 --disable-documentation && \ 65 ./configure --prefix=/usr/local --with-python3 --disable-documentation && \
64 make && make install && \ 66 make && make install && \
65 pip uninstall --no-cache-dir -y sphinx && \ 67 pip uninstall --no-cache-dir -y sphinx && \
66 pip uninstall --no-cache-dir -y -r $CWD/sphinxdeps.txt 68 pip uninstall --no-cache-dir -y -r $CWD/sphinxdeps.txt
67 69

Roundup Issue Tracker: http://roundup-tracker.org/