Skip to content

Commit

Permalink
Update mongo and ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
janantala authored Mar 24, 2022
1 parent b1506ba commit 1462033
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ubuntu:bionic
FROM ubuntu:focal

ENV MONGODB_VERSION=4.2.3
ENV MONGODB_VERSION=5.0.6

RUN apt-get update \
&& apt-get install -y curl gnupg \
&& curl https://www.mongodb.org/static/pgp/server-4.2.asc -o - | apt-key add - \
&& echo 'deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse' > /etc/apt/sources.list.d/mongodb.list \
&& curl https://www.mongodb.org/static/pgp/server-5.0.asc -o - | apt-key add - \
&& echo 'deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 multiverse' > /etc/apt/sources.list.d/mongodb.list \
&& apt-get update \
&& apt-get install -y mongodb-org-tools=$MONGODB_VERSION s3cmd ca-certificates

Expand Down

0 comments on commit 1462033

Please sign in to comment.