Spaces:
Runtime error
Runtime error
Commit
•
4f43f95
1
Parent(s):
442ab94
Upgrade MongoDB installation in Dockerfile
Browse filesUpdated the installation of MongoDB as in https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
Previously creating a ChatUI with this template was throwing a libssl dependency error as in https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931.
- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -83,11 +83,11 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
83 |
&& rm entrypoint.sh.template
|
84 |
|
85 |
|
86 |
-
RUN curl -fsSL https://
|
87 |
-
gpg -o /usr/share/keyrings/mongodb-server-
|
88 |
-
|
89 |
|
90 |
-
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-
|
91 |
|
92 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
93 |
mongodb-org && \
|
|
|
83 |
&& rm entrypoint.sh.template
|
84 |
|
85 |
|
86 |
+
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
|
87 |
+
gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
|
88 |
+
--dearmor
|
89 |
|
90 |
+
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
|
91 |
|
92 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
93 |
mongodb-org && \
|