You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a Spring Boot Java application that calls a private Python library. This private Python library is hosted in a private PyPI repository. How can I configure the GraalPy Maven plugin to use this private PyPI repository?
Currently, I believe that adding libraries inside <configuration><packages><package> fetches them from the public Python Package Index (PyPI), which is the official repository of open-source Python packages maintained by the Python Software Foundation. I want to know how to set it up so it fetches packages from my private PyPI repository instead.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, you should be able to achieve that by setting PIP_INDEX_URL environment variable. Additionally, GraalPy has a second index for pre-built wheels on graalvm.org, you can disable that by setting PIP_EXTRA_INDEX_URL to something nonexistent.
In case I use Dockerfile, I suppose PIP_INDEX_URL and PIP_EXTRA_INDEX_URL should be there, right?
Do you know an example where building a Docker image for a Spring Boot Java app that uses GraalPy works? It can be using Dockerfile, or even better, Paketo Buildpacks.
In case I use Dockerfile, I suppose PIP_INDEX_URL and PIP_EXTRA_INDEX_URL should be there, right?
Only if you actually build the application or the virtualenv in the dockerfile (AFAICS, you don't). You need it wherever you run maven or pip. If you just copy the JAR/native-image into the docker image, then you don't need it there.
Hi,
I am creating a Spring Boot Java application that calls a private Python library. This private Python library is hosted in a private PyPI repository. How can I configure the GraalPy Maven plugin to use this private PyPI repository?
Currently, I believe that adding libraries inside
<configuration><packages><package>
fetches them from the public Python Package Index (PyPI), which is the official repository of open-source Python packages maintained by the Python Software Foundation. I want to know how to set it up so it fetches packages from my private PyPI repository instead.Thank you!
The text was updated successfully, but these errors were encountered: