Category : kaniko

I am trying to build a custom alpine docker image using Kaniko. When I attempt to use the APK package manager to download package, I see the following ssl error. :SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c Note that I am behind an enterprise proxy. I have already provided Kaniko with certificate bundles and proxy settings. That is ..

Read more

I have the below step in my google cloud build project – id: ‘database’ name: ‘gcr.io/kaniko-project/executor:v0.20.0’ args: [ "–dockerfile=../Dockerfile", ‘–destination=eu.gcr.io/$PROJECT_ID/test:latest’] dir: ‘source/infrastructure/modules/test/src’ src is the folder where all my go files are. This step references this Dockerfile FROM golang:1.13 COPY ./ / WORKDIR / RUN go install The image builds ok locally, but when I ..

Read more

The instructions for using Kaniko in GCB use the exec form of the kaniko project builder, like this: – id: ‘Build (with Kaniko Cache)’ name: ‘gcr.io/kaniko-project/executor:latest’ timeout: 7200s args: – –destination=$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME:$SHORT_SHA – –cache=true – –cache-ttl=6h But I’m using it to replace a docker build, in which I circumvent the exec form of usage in order ..

Read more

using kaniko and Jenkins to push image to jfrog docker registry getting this intermittent error error pushing image: failed to push to destination docker.xxxxxxxxxxxx.com/xxxxx:1.0.0: unsupported status code 400; body: <html> <head><title>400 Bad Request</title></head> <body bgcolor="white"> <center><h1>400 Bad Request</h1></center> <hr><center>nginx/1.12.2</center> </body> </html> appreciate any help Source: Docker..

Read more