File: Dockerfile.wheels

package info (click to toggle)
python-shapely 1.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,368 kB
  • sloc: python: 9,915; makefile: 102; sh: 31
file content (23 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM quay.io/pypa/manylinux1_x86_64

ENV GEOS_VERSION 3.5.0

# Install geos
RUN mkdir -p /src \
    && cd /src \
    && curl -f -L -O http://download.osgeo.org/geos/geos-$GEOS_VERSION.tar.bz2 \
    && tar jxf geos-$GEOS_VERSION.tar.bz2 \
    && cd /src/geos-$GEOS_VERSION \
    && ./configure \
    && make \
    && make install \
    && rm -rf /src

# Bake dev requirements into the Docker image for faster builds
ADD requirements-dev.txt /tmp/requirements-dev.txt
RUN for PYBIN in /opt/python/*/bin; do \
        $PYBIN/pip install -r /tmp/requirements-dev.txt ; \
    done

WORKDIR /io
CMD ["/io/build-linux-wheels.sh"]