Skip to content

Commit 28251fc

Browse files
author
Jorge Samuel Mendes de Jesus
authored
Merge pull request #45 from lazaa32/bug_fix_38_and_44
Bug fix 38 and 44
2 parents 2bab307 + 084f4cf commit 28251fc

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

Diff for: .travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ git:
1010
install:
1111
- sudo apt-get update -qq
1212
- sudo apt-get install -qq gdal-bin libgdal-dev libgdal1h libgdal1-dev libgeos-dev python-dev python3-dev
13-
- isolation install GDAL==1.10.0 --global-option=build_ext --global-option="-I/usr/include/gdal"
14-
- isolation install -r requirements.txt
13+
- pip install GDAL==1.10.0 --global-option=build_ext --global-option="-I/usr/include/gdal"
14+
- pip install -r requirements.txt
1515

1616
before_script:
1717
"python demo.py -d"

Diff for: docker/alpine/flask/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:3.6
22
MAINTAINER Jorge S. Mendes de Jesus <[email protected]>
33

4-
ARG GDAL_VERSION=2.2.0
5-
ARG XERCES_VERSION=3.2.0
4+
ARG GDAL_VERSION=2.3.2
5+
ARG XERCES_VERSION=3.2.2
66
ARG PROCESSOR_N=4
77

88
RUN apk update && apk add --no-cache \
@@ -21,7 +21,8 @@ RUN apk update && apk add --no-cache \
2121
g++ \
2222
libstdc++ \
2323
make \
24-
swig
24+
swig
25+
2526
RUN apk add --no-cache \
2627
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
2728
geos \

Diff for: docker/isolation/Dockerfile

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM alpine:latest
1+
FROM alpine:3.6
22
MAINTAINER Jorge S. Mendes de Jesus <[email protected]>
33

4-
ENV GDAL_VERSION 2.2.0
5-
ENV XERCES_VERSION 3.2.0
4+
ARG GDAL_VERSION=2.3.2
5+
ARG XERCES_VERSION=3.2.2
6+
ARG PROCESSOR_N=4
67

7-
RUN apk add --no-cache \
8+
RUN apk update && apk add --no-cache \
89
git \
910
gcc \
1011
bash \
@@ -26,7 +27,7 @@ RUN wget http://www.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCES_VERSION
2627
tar xvf /tmp/xerces-c-${XERCES_VERSION}.tar.gz -C /tmp && \
2728
cd /tmp/xerces-c-${XERCES_VERSION} && \
2829
./configure --prefix=/opt/xerces && \
29-
make -j 4 && \
30+
make -j $PROCESSOR_N && \
3031
make install
3132

3233
# Geos
@@ -40,13 +41,13 @@ RUN wget http://download.osgeo.org/gdal/${GDAL_VERSION}/gdal-${GDAL_VERSION}.tar
4041
tar xzf /tmp/gdal.tar.gz -C /tmp && \
4142
cd /tmp/gdal-${GDAL_VERSION} && \
4243
CFLAGS="-g -Wall" LDFLAGS="-s" ./configure --with-expat=yes --with-xerces=/opt/xerces --with-geos=yes \
43-
&& make -j 4 && make install
44+
&& make -j $PROCESSOR_N && make install
4445

4546
RUN cd /tmp/gdal-${GDAL_VERSION}/swig/python \
4647
&& python3 setup.py build \
4748
&& python3 setup.py install
4849

49-
RUN git clone https://github.com/lazaa32/pywps-flask.git
50+
RUN git clone https://github.com/geopython/pywps-flask.git
5051

5152
WORKDIR /pywps-flask
5253
RUN pip3 install -r requirements.txt

Diff for: docker/ubuntu/flask/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM phusion/baseimage:0.9.22
33
MAINTAINER Jorge S. Mendes de Jesus <[email protected]>
44

55
ARG ROOTDIR=/usr/local/
6-
ARG GDAL_VERSION=2.2.3
6+
ARG GDAL_VERSION=2.3.2
77
ARG PROCESSOR_N=8
88

99
WORKDIR $ROOTDIR/

0 commit comments

Comments
 (0)