nsarrazin HF staff commited on
Commit
3f8b063
1 Parent(s): b6986a2

Upgrade MongoDB installation

Browse files
Files changed (1) hide show
  1. 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://pgp.mongodb.com/server-6.0.asc | \
86
- gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
87
- --dearmor
88
 
89
- RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
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 && \