Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
Upgrade Mongo and Ubuntu
Browse files Browse the repository at this point in the history
This PR:

* Upgrade MongoDB to version 3.2.9-2.1;
* Upgrade Ubuntu to 16.04;
* Fix Readme;
  • Loading branch information
jadsonlourenco committed Sep 27, 2016
1 parent b24d0d6 commit aa0f6ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
MAINTAINER Jadson Lourenço <[email protected]>
LABEL Description="Percona MongoRocks"

RUN apt-get update && apt-get install -y curl && \
curl -s -o /tmp/psmdb-3.2.4-1.0-rc2-r21-trusty-x86_64-bundle.tar https://www.percona.com/downloads/percona-server-mongodb/percona-server-mongodb-3.2.4-1.0rc2/binary/debian/trusty/x86_64/psmdb-3.2.4-1.0-rc2-r21-trusty-x86_64-bundle.tar && \
tar -xf /tmp/psmdb-3.2.4-1.0-rc2-r21-trusty-x86_64-bundle.tar -C /tmp/ && \
curl -s -o /tmp/percona-server-mongodb-3.2.9-2.1-rd497c75-xenial-x86_64-bundle.tar https://www.percona.com/downloads/percona-server-mongodb-3.2/percona-server-mongodb-3.2.9-2.1/binary/debian/xenial/x86_64/percona-server-mongodb-3.2.9-2.1-rd497c75-xenial-x86_64-bundle.tar && \
tar -xf /tmp/percona-server-mongodb-3.2.9-2.1-rd497c75-xenial-x86_64-bundle.tar -C /tmp/ && \
dpkg -i /tmp/percona-server-mongodb-*.deb && \
apt-get remove -y curl && \
rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How To Use
```
docker run -d -p 27017:27017 -e DB_USER=test -e DB_PASS=test -e DATABASE=mongorocks jadsonlourenco/mongo-rocks:1.1.0
docker run -d -p 27017:27017 -e DB_USER=test -e DB_PASS=test -e DATABASE=mongorocks jadsonlourenco/mongo-rocks
```

## Environment Variables
Expand Down

0 comments on commit aa0f6ad

Please sign in to comment.