nsarrazin HF staff florentgbelidji HF staff commited on
Commit
913c8a0
1 Parent(s): 442ab94

Upgrade MongoDB installation in Dockerfile (#7)

Browse files

- Upgrade MongoDB installation in Dockerfile (4f43f954aee80713d05f9c135a7e0595bfa56d4a)


Co-authored-by: Florent Gbelidji <florentgbelidji@users.noreply.huggingface.co>

Files changed (1) hide show
  1. 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://pgp.mongodb.com/server-6.0.asc | \
87
- gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
88
- --dearmor
89
 
90
- 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
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 && \