Skip to content

Commit

Permalink
fix: Consider package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik003 committed Sep 20, 2023
1 parent 12bf0bf commit 1018079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capella/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ ONBUILD USER root
# Install WebKit with GTK
ONBUILD COPY libs /tmp/libs
ONBUILD ARG INJECT_PACKAGES=false
# hadolint ignore=SC2046
ONBUILD RUN if [ "$INJECT_PACKAGES" = "true" ]; then \
apt-get update && \
# Inject old packages manually
find /tmp/libs -iname "*.deb" -exec apt-get install -y {} \; ; \
apt-get install -y $(find /tmp/libs -iname "*.deb"); \
rm -rf /var/lib/apt/lists/*; \
rm -r /tmp/libs; \
else \
Expand Down

0 comments on commit 1018079

Please sign in to comment.