Skip to content

Commit

Permalink
fix(database): add requirements for wal-e build
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Mar 15, 2015
1 parent 0b441c5 commit 1cbf311
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 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 @@ -44,10 +47,10 @@ 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 1cbf311

Please sign in to comment.