This is the Stable version of the documentation. The latest version is experimental and under active development. You can use the version selector in the top-right menu to switch versions for this specific page, or click here to go to the latest version's homepage.
Pull Image Proxy Issue
เนื้อหานี้ยังไม่มีในภาษาของคุณ
จากภาพคือ error ที่ไม่สามารถ download library ที่ request ไปยัง domain dl-cdn.alpinelinux.org ได้ เนื่องจากติด proxy
🖼️ [Screenshot Placeholder: proxy1.png]
วิธีการแก้ไขเมื่อไม่สามารถดาวน์โหลด module ได้ เนื่องจากติด proxy
Section titled “วิธีการแก้ไขเมื่อไม่สามารถดาวน์โหลด module ได้ เนื่องจากติด proxy”- เข้าไปหน้า Component Detail ของ Application ที่มีปัญหา
🖼️ [Screenshot Placeholder: proxy5.png]
- กดเข้าไปที่ GitLab ในส่วน SSO
🖼️ [Screenshot Placeholder: proxy6.png]
- ทำการ Login Gitlab
🖼️ [Screenshot Placeholder: proxy7.png]
- เมื่อเข้ามาแล้วให้กดไปที่ เมนู CI/CD ด้านซ้ายมือดังรูป จากนั้นทำการกดไปเข้าที่ Variable
🖼️ [Screenshot Placeholder: proxy8.png]
- ทำการ เพิ่ม Variable “KANIKO_EXTRA_ARGS” ที่ทำหน้าที่ในการ Set Proxy บน Repository
🖼️ [Screenshot Placeholder: proxy2.png]
🖼️ [Screenshot Placeholder: proxy3.png]
- ทำการเพิ่ม Arg บน Dockerfile ( SSL_CERT_DIR และ NODE_OPTIONS ) ดังรูป
🖼️ [Screenshot Placeholder: proxy4.png]
- ทำการ Build Pipeline ใหม่อีกครั้ง
Finished?
Use the below navigation to proceed