Skip to content

Commit d1cdd57

Browse files
committed
Merge pull request #3301 from mboersma/fix-wal-e-build
fix(database): add requirements for wal-e build
2 parents 0b441c5 + 9a2b653 commit d1cdd57

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

database/build.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ apt-get update && apt-get install -yq \
1818
daemontools \
1919
file \
2020
gcc \
21+
g++ \
2122
git \
23+
libffi-dev \
2224
libxml2-dev \
2325
libxslt1-dev \
26+
libssl-dev \
2427
lzop \
2528
postgresql-9.3 \
2629
pv \
@@ -36,18 +39,18 @@ cd /tmp
3639
git clone https://github.com/wal-e/wal-e.git
3740

3841
cd /tmp/wal-e
39-
git checkout c16e58a
42+
git checkout v0.8c2
4043

4144
pip install .
4245

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

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

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

0 commit comments

Comments
 (0)