Skip to content

Commit 79bfaa6

Browse files
committed
Force also uninstalling python package
1 parent 44ed450 commit 79bfaa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

continuous_integration/Dockerfile-debian12

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ARG QT_VERSION_MAJOR="6"
1414
COPY --from=aymara_svmtoolpp-debian12 /opt/svmtool++ /usr
1515

1616
# Setup
17-
RUN apt-get update && apt-get install -y locales locales-all apt-utils lsb-release git gcc g++ make curl python3-nltk gawk wget python3 ninja-build qt6-base-dev qt6-tools-dev libenchant-2-dev libtre-dev libboost-all-dev gnupg build-essential libssl-dev nodejs npm dos2unix unzip libeigen3-dev python3-pip python-is-python3 cmake qml6-module-qtqml qt6-base-dev qt6-tools-dev libqt6concurrent6 libqt6qml6 qt6-base-dev-tools qt6-charts-dev qt6-declarative-dev qt6-declarative-dev-tools qt6-httpserver-dev qt6-multimedia-dev python3-arpy python3-requests python3-tqdm
17+
RUN apt-get update && apt-get install -y locales locales-all apt-utils lsb-release git gcc g++ make curl python3-nltk gawk wget python3 ninja-build qt6-base-dev qt6-tools-dev libenchant-2-dev libtre-dev libboost-all-dev gnupg build-essential libssl-dev nodejs npm dos2unix unzip libeigen3-dev python3-pip python-is-python3 cmake qml6-module-qtqml qt6-base-dev qt6-tools-dev libqt6concurrent6 libqt6qml6 qt6-base-dev-tools qt6-charts-dev qt6-declarative-dev qt6-declarative-dev-tools qt6-httpserver-dev qt6-multimedia-dev python3-arpy python3-requests python3-full python3-tqdm
1818

1919
RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb -q \
2020
&& dpkg -i libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb \
@@ -76,7 +76,7 @@ RUN ninja && ninja install
7676
# Some models are necessary for unit tests to work, let's use a previous
7777
# version of lima-python to install them, then run tests and finally remove
7878
# old aymara/lima and downloaded models
79-
RUN wget -q https://github.com/aymara/lima-python/releases/download/continuous/aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && pip install --break-system-packages ./aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && lima_models -i eng && deeplima_models -i UD_English-EWT && pip uninstall -y aymara && (ctest || ctest --rerun-failed --output-on-failure) && rm -Rf $HOME/.local/share/lima
79+
RUN wget -q https://github.com/aymara/lima-python/releases/download/continuous/aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && pip install --break-system-packages ./aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl && lima_models -i eng && deeplima_models -i UD_English-EWT && pip uninstall --break-system-packages -y aymara && (ctest || ctest --rerun-failed --output-on-failure) && rm -Rf $HOME/.local/share/lima
8080

8181
RUN ninja package
8282
RUN install -D -t /usr/share/apps/lima/packages /src/lima/build/*.deb

0 commit comments

Comments
 (0)