Skip to content

Commit

Permalink
Merge pull request deis#3301 from mboersma/fix-wal-e-build
Browse files Browse the repository at this point in the history
fix(database): add requirements for wal-e build
  • Loading branch information
mboersma committed Mar 15, 2015
2 parents 0b441c5 + 9a2b653 commit d1cdd57
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions database/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ apt-get update && apt-get install -yq \
daemontools \
file \
gcc \
g++ \
git \
libffi-dev \
libxml2-dev \
libxslt1-dev \
libssl-dev \
lzop \
postgresql-9.3 \
pv \
Expand All @@ -36,18 +39,18 @@ cd /tmp
git clone https://github.com/wal-e/wal-e.git

cd /tmp/wal-e
git checkout c16e58a
git checkout v0.8c2

pip install .

mkdir -p /etc/wal-e.d/env

chown -R root:postgres /etc/wal-e.d

# cleanup. indicate that python, libpq and libyanl are required packages.
apt-mark unmarkauto python curl daemontools file libxml2-dev \
libxslt1-dev lzop postgresql-9.3 pv && \
apt-get remove -y --purge python-dev gcc cpp libpq-dev libyaml-dev git && \
# cleanup. indicate python, curl, and others as required packages.
apt-mark unmarkauto python curl daemontools file libffi-dev libxml2-dev \
libxslt1-dev libssl-dev lzop postgresql-9.3 pv && \
apt-get remove -y --purge gcc g++ git python-dev && \
apt-get autoremove -y --purge && \
apt-get clean -y && \
rm -Rf /usr/share/man /usr/share/doc && \
Expand Down

0 comments on commit d1cdd57

Please sign in to comment.