docker-compose: fix DB Docker building error #463 related wal-e 1.0.0 and azure (#464)

This commit is contained in:
nvjacobo authored and GitHub committed 2020-04-15 09:30:49 +02:00
1 parent 1bfa69db5c
commit 7fd2eb47a9
1 file changed
+2 -1
+2 -1
View File
@@ -3,6 +3,7 @@ FROM postgres:9.4-alpine
ENV DEFAULT_TIMEZONE UTC
# Install some packages to use WAL
RUN echo "azure<5.0.0" > pip-constraints.txt
RUN apk add --no-cache \
build-base \
curl \
@@ -14,7 +15,7 @@ RUN apk add --no-cache \
py-cryptography \
pv \
libressl-dev \
&& pip --no-cache-dir install 'wal-e<1.0.0' envdir \
&& pip --no-cache-dir install -c pip-constraints.txt 'wal-e<1.0.0' envdir \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
# Add wale script