From 7ad961ede379e59118c2ee950635a191d69a3fba Mon Sep 17 00:00:00 2001 From: Weixuan Fu Date: Thu, 3 Dec 2020 10:11:40 -0500 Subject: [PATCH] dbmongo pass --- docker/dbmongo/Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docker/dbmongo/Dockerfile b/docker/dbmongo/Dockerfile index d8f2b5c7a..36ab903be 100644 --- a/docker/dbmongo/Dockerfile +++ b/docker/dbmongo/Dockerfile @@ -1,13 +1,19 @@ -FROM ubuntu:xenial +FROM arm64v8/mongo WORKDIR /opt/ ARG docker_filepath=docker/dbmongo/files #add repo for mongodb -RUN echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list +#RUN echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list +#RUN apt-get update --fix-missing && \ +# apt-get install -y wget gnupg +#RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - + +#RUN echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list + RUN apt-get update --fix-missing && \ apt-get install -y --allow-unauthenticated \ - vim mongodb-org npm openssh-client htop dos2unix \ + vim npm openssh-client htop dos2unix \ net-tools iputils-ping \ --no-install-recommends && \ apt-get clean && \