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
|