buildpacks-community / kpack

Kubernetes Native Container Build Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create image on air-gapped cluster

rbuffi opened this issue · comments

Hello,

We are trying to build our python images on an air-gapped environment.
We have taken the following steps:

  • Load images in harbor registry
  • Inject custom cert with webhook

During image build phase "build" the image build fails:

Paketo Buildpack for CPython 1.13.0

  Resolving CPython version

    Candidate version sources (in priority order):

                -> ""

      <unknown> -> ""

Selected CPython version (using ): 3.10.14

 Executing build process

    Installing CPython 3.10.14

failed to fetch dependency: failed to make request: Get https://artifacts.paketo.io/python/python_3.10.14_linux_x64_jammy_9e7c333f.tgz: dial tcp: lookup

How can we redirect artifacts.paketo.io to local server. Or are there other options for air gapped image creation?