Skip to content

Commit

Permalink
Merge pull request #344 from camptocamp/backport/340-to-master
Browse files Browse the repository at this point in the history
[Backport master] Add lxml in the desktop
  • Loading branch information
sbrunner authored May 25, 2022
2 parents b92f14f + 9be0926 commit 44f6bf8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
!runtime
!runtime-desktop
!requirements.txt
!requirements-desktop.txt
!Pipfile*
!cache
!package.json
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ RUN --mount=type=cache,target=/var/lib/apt/lists,id=apt-list \
qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin \
qt3d-scene2d-plugin

COPY requirements-desktop.txt ./
RUN --mount=type=cache,target=/root/.cache,id=root-cache \
python3 -m pip install --disable-pip-version-check --requirement=requirements-desktop.txt && \
rm --recursive --force /tmp/*

COPY --from=builder-desktop /usr/local/bin /usr/local/bin/
COPY --from=builder-desktop /usr/local/lib /usr/local/lib/
COPY --from=builder-desktop /usr/local/share /usr/local/share/
Expand Down
1 change: 1 addition & 0 deletions requirements-desktop.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lxml==4.8.0

0 comments on commit 44f6bf8

Please sign in to comment.