Pack fails to download image from private repo with self-signed certificate during Analyze phase #609
Labels
status/ready
Issue ready to be worked on.
type/enhancement
Issue that requests a new feature or improvement.
Summary
When using a private registry with a self-signed certificate, pack fails when executing a build with the "publish" flag during the Analyze phase. Because this problem occurs during the Analyze phase, this appears to be a pack specific issue.
Self-signed certificates are already trusted by the OS (MacOS).
Reproduction
Steps
Current behavior
Pack fails with the following message:
Expected behavior
Expected pack to reach out to private repository with a self-signed certificate successfully
Environment
MacOS
pack info
Default Lifecycle Version: 0.11.3
Supported Platform APIs: 0.3, 0.4, 0.5, 0.6
Config:
default-builder-image = "[REDACTED]"
docker info
Server:
Containers: 25
Running: 0
Paused: 0
Stopped: 25
Images: 107
Server Version: 20.10.8
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: e25210fe30a0a703442421b0f60afac609f950a3
runc version: v1.0.1-0-g4144b63
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.47-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 5.805GiB
Name: docker-desktop
ID: SKKA:IL5Q:IKWP:IJME:UJQL:BNLT:JVZE:PL4F:FDBD:GLQP:GPP5:6OAG
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
The text was updated successfully, but these errors were encountered: