File: Dockerfile.arm64

package info (click to toggle)
python-shapely 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: python: 18,648; ansic: 6,615; makefile: 88; sh: 62
file content (17 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This docker container is used for testing shapely in ARM64 emulation mode.
# To build it:
# docker build . -f ./docker/Dockerfile.arm64 -t shapely/arm64
# Then run the shapely test suite:
# docker run --rm shapely/arm64:latest python3 -m pytest -vv

FROM --platform=linux/arm64/v8 arm64v8/ubuntu:20.04

RUN apt-get update && apt-get install -y build-essential libgeos-dev python3-dev python3-pip --no-install-recommends

RUN pip3 install numpy Cython pytest

COPY . /code

WORKDIR /code

RUN python3 setup.py build_ext --inplace