Skip to content

Commit

Permalink
feat : updated Dockerfile-7
Browse files Browse the repository at this point in the history
  • Loading branch information
surjendu104 committed Feb 13, 2024
1 parent ce184da commit 2f534d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ RUN apt-get update && \
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-server-7.0.gpg
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

RUN apt-get install -y mongodb-org
RUN apt-get update && \
apt-get install -y mongodb-org

RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN apt-get install -y openjdk-11-jre
RUN service mongodb start
RUN sleep 5
Expand Down

0 comments on commit 2f534d6

Please sign in to comment.