pitrou commented on code in PR #13899:
URL: https://github.com/apache/arrow/pull/13899#discussion_r947048498
##########
ci/docker/linux-apt-python-3.dockerfile:
##########
@@ -39,6 +39,12 @@ RUN pip install \
-r arrow/python/requirements-build.txt \
-r arrow/python/requirements-test.txt
+ARG numba
+COPY ci/scripts/install_numba.sh /arrow/ci/scripts/
+RUN if [ "${numba}" != "" ]; then \
+ /arrow/ci/scripts/install_numba.sh ${numba} \
+ ; fi
Review Comment:
Hmm... can you suggest a patch? I already tried to follow this pattern and
didn't succeed. I got this error:
```
DEBUG:archery:Executing `['docker-compose', '--file',
'/home/antoine/arrow/dev/docker-compose.yml', 'build', '--build-arg',
'BUILDKIT_INLINE_CACHE=1', 'ubuntu-cuda-python']`
Building ubuntu-cuda-python
[+] Building 0.4s (3/3) FINISHED
=> [internal] load build definition from linux-apt-python-numba.dockerfile
0.0s
=> => transferring dockerfile: 1.04kB
0.0s
=> [internal] load .dockerignore
0.0s
=> => transferring context: 35B
0.0s
=> ERROR [internal] load metadata for
docker.io/apache/arrow-dev:amd64-linux-apt-python-3
0.4s
------
> [internal] load metadata for
docker.io/apache/arrow-dev:amd64-linux-apt-python-3:
------
failed to solve with frontend dockerfile.v0: failed to create LLB
definition: docker.io/apache/arrow-dev:amd64-linux-apt-python-3: not found
ERROR: Service 'ubuntu-cuda-python' failed to build : Build failed
Error: `docker-compose --file /home/antoine/arrow/dev/docker-compose.yml
build --build-arg BUILDKIT_INLINE_CACHE=1 ubuntu-cuda-python` exited with a
non-zero exit code 1, see the process log above.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]