Spaces:
Runtime error
Runtime error
Upgrade MongoDB installation (#1)
Browse files- Upgrade MongoDB installation (3f8b0634a92dbfbca3c5996bcb45fced74dbff05)
- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -82,11 +82,11 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
82 |
&& rm entrypoint.sh.template
|
83 |
|
84 |
|
85 |
-
RUN curl -fsSL https://
|
86 |
-
gpg -o /usr/share/keyrings/mongodb-server-
|
87 |
-
|
88 |
|
89 |
-
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-
|
90 |
|
91 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
92 |
mongodb-org && \
|
|
|
82 |
&& rm entrypoint.sh.template
|
83 |
|
84 |
|
85 |
+
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
|
86 |
+
gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
|
87 |
+
--dearmor
|
88 |
|
89 |
+
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
|
90 |
|
91 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
92 |
mongodb-org && \
|