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

Commit

Permalink
Upgrade mongodb to version 3.2.4-1.0-rc2:
Browse files Browse the repository at this point in the history
* Remove persona repository.
* Install mongodb using a fixed version "3.2.4-1.0-rc2".
  • Loading branch information
jadsonlourenco committed Jun 28, 2016
1 parent ee3bf56 commit b24d0d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ FROM ubuntu:14.04
MAINTAINER Jadson Lourenço <[email protected]>
LABEL Description="Percona MongoRocks"

RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A && \
echo "deb http://repo.percona.com/apt "$(lsb_release -sc)" main" | sudo tee /etc/apt/sources.list.d/percona.list && \
echo "deb-src http://repo.percona.com/apt "$(lsb_release -sc)" main" | sudo tee -a /etc/apt/sources.list.d/percona.list && \
apt-get update && \
apt-get install percona-server-mongodb -y -f
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/ && \
dpkg -i /tmp/percona-server-mongodb-*.deb && \
apt-get remove -y curl && \
rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*

ENV AUTH="yes" \
ADMIN_USER="admin" \
Expand Down

0 comments on commit b24d0d6

Please sign in to comment.