Adding pysal to Docker
This commit is contained in:
parent
12bfe405e4
commit
34551c96e1
@ -126,6 +126,7 @@ RUN git clone https://github.com/CartoDB/cartodb-postgresql.git &&\
|
||||
RUN apt-get -y install python-dev python-pip liblapack-dev gfortran libyaml-dev
|
||||
|
||||
RUN pip install numpy pandas scipy theano keras sklearn
|
||||
RUN pip install pysal
|
||||
|
||||
# get compiled libraries recognized
|
||||
RUN ldconfig
|
||||
|
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
/sbin/my_init &
|
||||
|
||||
echo "Waiting for PostgreSQL to run..."
|
||||
sleep 1
|
||||
while ! /usr/bin/pg_isready -q
|
||||
do
|
||||
sleep 1
|
||||
echo -n "."
|
||||
done
|
||||
|
||||
cd /crankshaft/pg
|
||||
make install
|
||||
fg
|
Loading…
Reference in New Issue
Block a user