curl not working in kaniko image

438 views
Skip to first unread message

Sam Martin

unread,
Nov 8, 2022, 1:21:29 AM11/8/22
to kaniko-users
Hi all ,

i am using kaniko to create my custom centos image i want to push it to GitLab package registry as a tar , but i m getting command not found error . How can i  install curl in kaniko image .
The another issue is , m using tar argument to create tar and also providing destination path to container registry but it is just creating the folder on container registry . tag is still empty . Please help here.

Thanks in advance.

Kevin Jorquera

unread,
Sep 28, 2023, 1:31:43 PM9/28/23
to kaniko-users

You need to create a custom dockerfile and add curl, kaniko is distroless image I believe. 
Reply all
Reply to author
Forward
0 new messages