drone-kaniko icon indicating copy to clipboard operation
drone-kaniko copied to clipboard

standard_init_linux.go:211: exec user process caused "permission denied"

Open ademariag opened this issue 4 years ago • 0 comments

Describe the bug When running drone-kaniko from a drone kubernetes runner, I get the following error:

standard_init_linux.go:211: exec user process caused "permission denied"

Steps to reproduce the issue: Running on GKE cluster (on COS_containerd type node)

Pipeline:

---
kind: pipeline
type: kubernetes
name: Kapitan Compile

clone:
  depth: 10

steps:
- name: publish
  image: banzaicloud/drone-kaniko
  settings:
    cache: true
    registry: eu.gcr.io
    repo: eu.gcr.io/antha-images/kapitan
    dockerfile: kapitan/Dockerfile
    tags: latest
    build_args:
    - KAPITAN_RELEASE=0.27.4-ci
    json_key:
      from_secret: google_credentials

---
kind: secret
name: google_credentials
get:
  path: drone-runner
  name: google_credentials

Expected behavior Drone builds the image

Screenshots image

Additional context

  • Using drone kubernetes runners
  • running on GKE 1.16 with COS_Containerd nodes

ademariag avatar Jun 10 '20 19:06 ademariag