Skip to content

Commit 71597c4

Browse files
committed
[docker] Update Dockerfiles with Qt 6.8.3
1 parent d822221 commit 71597c4

File tree

7 files changed

+16
-19
lines changed

7 files changed

+16
-19
lines changed

docker/Dockerfile_rocky

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ COPY ./bin ${MESHROOM_DEV}/bin
2626

2727
WORKDIR ${MESHROOM_DEV}
2828

29-
RUN python3 -m pip install --upgrade --force-reinstall cx_Freeze==6.9
30-
31-
RUN python3 setup.py install_exe -d "${MESHROOM_BUNDLE}" && \
29+
RUN python setup.py install_exe -d "${MESHROOM_BUNDLE}" && \
3230
find ${MESHROOM_BUNDLE} -name "*Qt6Web*" -delete && \
3331
find ${MESHROOM_BUNDLE} -name "*Qt6Designer*" -delete && \
3432
rm -rf ${MESHROOM_BUNDLE}/lib/PySide6/typesystems/ \
@@ -58,8 +56,8 @@ RUN make "-j$(nproc)" && \
5856
# Download mrSegmentation and the models, install the requirements and set all the variables
5957
WORKDIR ${MESHROOM_BUNDLE}
6058
RUN git clone https://github.com/meshroomHub/mrSegmentation.git mrSegmentation
61-
RUN pip install --upgrade setuptools
62-
RUN pip install -r mrSegmentation/requirements.txt
59+
RUN python -m pip install --upgrade setuptools
60+
RUN python -m pip install -r mrSegmentation/requirements.txt
6361
RUN rm mrSegmentation/requirements.txt mrSegmentation/setup.py
6462
ENV MESHROOM_NODES_PATH="${MESHROOM_BUNDLE}/mrSegmentation/meshroom/nodes"
6563
ENV PYTHONPATH="${PYTHONPATH}:${MESHROOM_BUNDLE}/mrSegmentation"

docker/Dockerfile_rocky_deps

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ ENV MESHROOM_DEV=/opt/Meshroom \
1515

1616
# Install libs needed by Qt
1717
RUN dnf update -y
18-
RUN dnf install -y flex fontconfig freetype
19-
RUN dnf install -y glib2-devel libICE
18+
RUN dnf install -y flex fontconfig freetype glib2-devel libICE
2019
RUN dnf install -y libX11 libXext libXi libXrender libSM
2120
RUN dnf install -y libXt-devel mesa-libGLU-devel mesa-libOSMesa-devel mesa-libGL-devel mesa-libEGL-devel
2221
RUN dnf install -y zlib-devel systemd openssh-server
@@ -33,7 +32,7 @@ COPY dl/qt.run /tmp/qt
3332
RUN chmod +x qt.run
3433
RUN ./qt.run --verbose --email ${QT_CI_LOGIN} --password ${QT_CI_P} --accept-obligations --accept-licenses \
3534
--default-answer --platform minimal --auto-answer installationErrorWithCancel=Ignore --no-force-installations --no-default-installations --confirm-command \
36-
install qt.qt6.683.gcc_64 qt.qt6.683.addons.qtcharts qt.qt6.683.addons.qt3d
35+
install qt.qt6.683.linux_gcc_64 qt.qt6.683.addons.qtcharts qt.qt6.683.addons.qt3d
3736
RUN rm qt.run
3837

3938
# Strip sections containing ".note.ABI.tag" from .so: https://github.com/Microsoft/WSL/issues/3023
@@ -43,4 +42,4 @@ COPY ./*requirements.txt ./setup.py ${MESHROOM_DEV}/
4342

4443
# Install Meshroom requirements and freeze bundle
4544
WORKDIR "${MESHROOM_DEV}"
46-
RUN python3 -m pip install -r dev_requirements.txt -r requirements.txt
45+
RUN python -m pip install -r dev_requirements.txt -r requirements.txt

docker/Dockerfile_ubuntu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY ./bin ${MESHROOM_DEV}/bin
2424

2525
WORKDIR ${MESHROOM_DEV}
2626

27-
RUN python3 setup.py install_exe -d "${MESHROOM_BUNDLE}" && \
27+
RUN python setup.py install_exe -d "${MESHROOM_BUNDLE}" && \
2828
find ${MESHROOM_BUNDLE} -name "*Qt6Web*" -delete && \
2929
find ${MESHROOM_BUNDLE} -name "*Qt6Designer*" -delete && \
3030
rm -rf ${MESHROOM_BUNDLE}/lib/PySide6/typesystems/ \
@@ -54,8 +54,8 @@ RUN make "-j$(nproc)" && \
5454
# Download mrSegmentation and the models, install the requirements and set all the variables
5555
WORKDIR ${MESHROOM_BUNDLE}
5656
RUN git clone https://github.com/meshroomHub/mrSegmentation.git mrSegmentation
57-
RUN pip install --upgrade setuptools
58-
RUN pip install -r mrSegmentation/requirements.txt
57+
RUN python -m pip install --upgrade setuptools
58+
RUN python -m pip install -r mrSegmentation/requirements.txt
5959
RUN rm mrSegmentation/requirements.txt mrSegmentation/setup.py
6060
ENV MESHROOM_NODES_PATH="${MESHROOM_BUNDLE}/mrSegmentation/meshroom/nodes"
6161
ENV PYTHONPATH="${PYTHONPATH}:${MESHROOM_BUNDLE}/mrSegmentation"

docker/Dockerfile_ubuntu_deps

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ RUN apt-get install -y --no-install-recommends \
5454
software-properties-common
5555

5656
# Install Python3
57-
RUN apt install python3-pip -y && pip3 install --upgrade pip
57+
# RUN apt install python3-pip -y && pip3 install --upgrade pip
5858

5959
# Install Qt (to build plugins)
6060
WORKDIR /tmp/qt
6161
COPY dl/qt.run /tmp/qt
6262
RUN chmod +x qt.run
6363
RUN ./qt.run --verbose --email ${QT_CI_LOGIN} --password ${QT_CI_P} --accept-obligations --accept-licenses \
6464
--default-answer --platform minimal --auto-answer installationErrorWithCancel=Ignore --no-force-installations --no-default-installations --confirm-command \
65-
install qt.qt6.683.gcc_64 qt.qt6.683.addons.qtcharts qt.qt6.683.addons.qt3d
65+
install qt.qt6.683.linux_gcc_64 qt.qt6.683.addons.qtcharts qt.qt6.683.addons.qt3d
6666
RUN rm qt.run
6767

6868
# Strip sections containing ".note.ABI.tag" from .so: https://github.com/Microsoft/WSL/issues/3023
@@ -72,4 +72,4 @@ COPY ./*requirements.txt ./setup.py ${MESHROOM_DEV}/
7272

7373
# Install Meshroom requirements and freeze bundle
7474
WORKDIR "${MESHROOM_DEV}"
75-
RUN pip install -r dev_requirements.txt -r requirements.txt
75+
RUN python -m pip install -r dev_requirements.txt -r requirements.txt

docker/build-all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ test -d docker || (
77
exit 1
88
)
99

10-
CUDA_VERSION=12.1.0 UBUNTU_VERSION=22.04 docker/build-ubuntu.sh
10+
CUDA_VERSION=12.1.1 UBUNTU_VERSION=22.04 docker/build-ubuntu.sh
1111

12-
CUDA_VERSION=12.1.0 ROCKY_VERSION=9 docker/build-rocky.sh
12+
CUDA_VERSION=12.1.1 ROCKY_VERSION=9 docker/build-rocky.sh

docker/extract-rocky.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -ex
33

44
test -z "$MESHROOM_VERSION" && MESHROOM_VERSION="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short HEAD)"
55
test -z "$AV_VERSION" && echo "AliceVision version not specified, set AV_VERSION in the environment" && exit 1
6-
test -z "$CUDA_VERSION" && CUDA_VERSION="12.1.0"
6+
test -z "$CUDA_VERSION" && CUDA_VERSION="12.1.1"
77
test -z "$ROCKY_VERSION" && ROCKY_VERSION="9"
88

99
test -d docker || (

docker/extract-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -ex
33

44
test -z "$MESHROOM_VERSION" && MESHROOM_VERSION="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short HEAD)"
55
test -z "$AV_VERSION" && echo "AliceVision version not specified, set AV_VERSION in the environment" && exit 1
6-
test -z "$CUDA_VERSION" && CUDA_VERSION="12.1.0"
6+
test -z "$CUDA_VERSION" && CUDA_VERSION="12.1.1"
77
test -z "$UBUNTU_VERSION" && UBUNTU_VERSION="22.04"
88

99
test -d docker || (

0 commit comments

Comments
 (0)