FROM ubuntu:16.04
RUN apt-get update && apt-get install -y locales && echo "LC_ALL=en_US.UTF-8" >> /etc/environment && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && echo "LANG=en_US.UTF-8" > /etc/locale.conf && locale-gen en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV PATH="/root/.local/bin:$PATH"
RUN apt-get update \
&& apt-get install -y apt-transport-https \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 \
&& echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 multiverse" > /etc/apt/sources.list.d/mongodb-org-4.0.list \
&& apt-get update \
&& apt-get install -y mongodb-org-shell
Content type
Image
Digest
Size
89.2 MB
Last updated
almost 7 years ago
docker pull anmolsharmaa/mongoclient