Skip to content

Commit

Permalink
#45: know dependency conflict: mongo 4.2 (the shell used only for ini…
Browse files Browse the repository at this point in the history
…tial install, not running) is older than newer debian bullseye dependencies like
  • Loading branch information
fititnt committed Jul 10, 2023
1 parent 4da9818 commit 47b28b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
dh-autoreconf \
git \
libpng-dev \
libcurl3 \
openssl \
poppler-utils

RUN curl -fsSL https://pgp.mongodb.com/server-4.2.asc | \
Expand All @@ -17,7 +19,8 @@ RUN curl -fsSL https://pgp.mongodb.com/server-4.2.asc | \

RUN echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.2.gpg ] http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
RUN apt-get update
RUN apt-get install -y mongodb-org-shell mongodb-org-tools
# RUN apt-get install -y mongodb-org-shell mongodb-org-tools
RUN apt-get install -y mongodb-org-tools
RUN apt-get clean && rm -rf /var/lib/apt/lists/*


Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,13 @@ instead of Public Domain unlicense.
- https://repo.mongodb.org/apt/debian/dists/bullseye/mongodb-org/
# Refrech
docker compose --file docker-compose.yml run -e IS_FIRST_RUN=true --rm uwazi
# ...
docker system prune --all
-->

0 comments on commit 47b28b8

Please sign in to comment.