Created
December 16, 2021 23:21
-
-
Save jwhitlock/8d4d3441c6eb07d145db7f4953238f68 to your computer and use it in GitHub Desktop.
shapely issue #1263, full build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10.1-slim | |
RUN apt-get update && \ | |
apt-get -y install libgeos-dev | |
RUN pip install numpy cython | |
RUN pip install --no-binary=shapely shapely==1.8.0 | |
RUN python -c "import sys; from shapely import speedups; sys.exit(not speedups.available)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#2 [internal] load .dockerignore | |
#2 sha256:2b08dca6b0669a7348e49a6dbed3a944e8226b04d84c84fc7b2715a6ff8d99e8 | |
#2 transferring context: 2B done | |
#2 ... | |
#1 [internal] load build definition from Dockerfile-310-src | |
#1 sha256:84294cdca3b722e82b10227498ad3772f1d776c4262b71828a89d54b9c16bb7f | |
#1 transferring dockerfile: 45B done | |
#1 DONE 0.4s | |
#2 [internal] load .dockerignore | |
#2 sha256:2b08dca6b0669a7348e49a6dbed3a944e8226b04d84c84fc7b2715a6ff8d99e8 | |
#2 DONE 0.5s | |
#3 [internal] load metadata for docker.io/library/python:3.10.1-slim | |
#3 sha256:eeddf6a8f7157ee56dfb15173abbecd5642fe75a734d78b53d9bf28267654966 | |
#3 DONE 0.0s | |
#8 [1/5] FROM docker.io/library/python:3.10.1-slim | |
#8 sha256:ac1c449bc295e585510703962f998399a4da128841c9ca79514f04222672ec2a | |
#8 CACHED | |
#4 [2/5] RUN apt-get update && apt-get -y install libgeos-dev | |
#4 sha256:83fe5831a51ae0183ee1205bd8a2296946487ed1c0ec3f16316d0400a17d46a1 | |
#4 0.930 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] | |
#4 0.932 Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] | |
#4 1.030 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB] | |
#4 1.089 Get:4 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [97.0 kB] | |
#4 1.144 Get:5 http://deb.debian.org/debian bullseye/main arm64 Packages [8068 kB] | |
#4 1.575 Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [2600 B] | |
#4 2.172 Fetched 8367 kB in 1s (6210 kB/s) | |
#4 2.172 Reading package lists... | |
#4 2.440 Reading package lists... | |
#4 2.698 Building dependency tree... | |
#4 2.764 Reading state information... | |
#4 2.829 The following additional packages will be installed: | |
#4 2.829 libgeos-3.9.0 libgeos-c1v5 | |
#4 2.830 Suggested packages: | |
#4 2.830 libgdal-doc | |
#4 2.843 The following NEW packages will be installed: | |
#4 2.843 libgeos-3.9.0 libgeos-c1v5 libgeos-dev | |
#4 2.936 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | |
#4 2.936 Need to get 1634 kB of archives. | |
#4 2.936 After this operation, 4327 kB of additional disk space will be used. | |
#4 2.936 Get:1 http://deb.debian.org/debian bullseye/main arm64 libgeos-3.9.0 arm64 3.9.0-1 [865 kB] | |
#4 3.163 Get:2 http://deb.debian.org/debian bullseye/main arm64 libgeos-c1v5 arm64 3.9.0-1 [371 kB] | |
#4 3.177 Get:3 http://deb.debian.org/debian bullseye/main arm64 libgeos-dev arm64 3.9.0-1 [397 kB] | |
#4 3.359 debconf: delaying package configuration, since apt-utils is not installed | |
#4 3.462 Fetched 1634 kB in 0s (4772 kB/s) | |
#4 3.740 Selecting previously unselected package libgeos-3.9.0:arm64. | |
(Reading database ... 7015 files and directories currently installed.) | |
#4 3.764 Preparing to unpack .../libgeos-3.9.0_3.9.0-1_arm64.deb ... | |
#4 3.939 Unpacking libgeos-3.9.0:arm64 (3.9.0-1) ... | |
#4 4.550 Selecting previously unselected package libgeos-c1v5:arm64. | |
#4 4.552 Preparing to unpack .../libgeos-c1v5_3.9.0-1_arm64.deb ... | |
#4 4.640 Unpacking libgeos-c1v5:arm64 (3.9.0-1) ... | |
#4 5.081 Selecting previously unselected package libgeos-dev. | |
#4 5.083 Preparing to unpack .../libgeos-dev_3.9.0-1_arm64.deb ... | |
#4 5.165 Unpacking libgeos-dev (3.9.0-1) ... | |
#4 5.697 Setting up libgeos-3.9.0:arm64 (3.9.0-1) ... | |
#4 5.947 Setting up libgeos-c1v5:arm64 (3.9.0-1) ... | |
#4 6.221 Setting up libgeos-dev (3.9.0-1) ... | |
#4 6.477 Processing triggers for libc-bin (2.31-13+deb11u2) ... | |
#4 DONE 7.3s | |
#5 [3/5] RUN pip install numpy cython | |
#5 sha256:358d6b5082478bab8e9e9d3ff52b5d28388620837314e4204af1fdc52cf7943e | |
#5 1.951 Collecting numpy | |
#5 2.038 Downloading numpy-1.21.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB) | |
#5 2.957 Collecting cython | |
#5 2.975 Downloading Cython-0.29.26-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (1.8 MB) | |
#5 3.117 Installing collected packages: numpy, cython | |
#5 4.498 Successfully installed cython-0.29.26 numpy-1.21.4 | |
#5 4.498 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv | |
#5 4.676 WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available. | |
#5 4.676 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. | |
#5 DONE 5.1s | |
#6 [4/5] RUN pip install --no-binary=shapely shapely==1.8.0 | |
#6 sha256:4c75a14845b65ccced77de5bed8497461c61d1d0fc78851e93f8cfbaa2bb6100 | |
#6 1.312 Collecting shapely==1.8.0 | |
#6 1.378 Downloading Shapely-1.8.0.tar.gz (278 kB) | |
#6 1.772 Skipping wheel build for shapely, due to binaries being disabled for it. | |
#6 1.782 Installing collected packages: shapely | |
#6 1.782 Running setup.py install for shapely: started | |
#6 2.567 Running setup.py install for shapely: finished with status 'done' | |
#6 2.570 Successfully installed shapely-1.8.0 | |
#6 2.570 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv | |
#6 2.573 WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available. | |
#6 2.573 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. | |
#6 DONE 2.9s | |
#7 [5/5] RUN python -c "import sys; from shapely import speedups; sys.exit(not speedups.available)" | |
#7 sha256:2d109c2a6bce22c5930ee8f7ca2d9716e5b6f33176ea25eb5b285e43d82c8a78 | |
#7 ERROR: executor failed running [/bin/sh -c python -c "import sys; from shapely import speedups; sys.exit(not speedups.available)"]: exit code: 1 | |
------ | |
> [5/5] RUN python -c "import sys; from shapely import speedups; sys.exit(not speedups.available)": | |
------ | |
executor failed running [/bin/sh -c python -c "import sys; from shapely import speedups; sys.exit(not speedups.available)"]: exit code: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment