diff --git a/Dockerfile b/Dockerfile index e969ae1..fbdb51f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio rsync \ ssh \ wget \ - # mongodb - mongodb \ # puppeteer gconf-service \ libasound2 \ @@ -66,8 +64,16 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio libnss3 \ lsb-release \ xdg-utils \ + + # chrome && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ && apt install -y -q --no-install-recommends ./google-chrome-stable_current_amd64.deb \ + + # mongodb + && curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - \ + && echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list \ + && apt-get install -y -q --no-install-recommends \ + mongodb-org \ && apt-get clean \ && rm -r /var/lib/apt/lists/*