paketo-buildpacks/samples

pack build failed with corporate network

tppalani opened this issue · 0 comments

Expected Behavior

pack build command failed when i connected my system within VPN network.

  1. Sample repo has been cloned from https://github.com/paketo-buildpacks/samples
  2. I'm trying build npm app under the location https://github.com/paketo-buildpacks/samples/tree/main/nodejs/npm
  3. Under this path https://github.com/paketo-buildpacks/samples/tree/main/nodejs/npm in my local i have create folder name ca-certificates/binding/root.pem then i kept root.pem file
  4. when i'm running build command
pack build --volume "C:/Users/workspace/caas-devops-tekton-pipelines/buildpack-cli/samples/nodejs/npm/ca-certificates/binding:/bindings/ca-certificates" npm-app:1.0 --docker-host=unix:///run/podman/podman.sock --builder paketobuildpacks/builder:base
  1. Build getting failed with TLS certificate issue.

Current Behavior

Executing build process
Installing Node Engine 18.16.1
failed to fetch dependency: failed to make request: Get "https://artifacts.paketo.io/node/node_v18.16.1_linux_x64_bionic_60e34618.tgz": tls: failed to verify certificate: x509: certificate signed by unknown authority

Possible Solution

Steps to Reproduce

Motivations