Not able to build node14 image - /bin/sh: permission denied #1702
Labels
area/permissions
categorized
differs-from-docker
has-repro
issue/build-fails
issue/dockerfile-specific
issue/permission-denied
kind/bug
Something isn't working
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
priority/p2
High impact feature/bug. Will get a lot of users happy
works-with-docker
Actual behavior
Getting the below error while trying to build node14 image using kaniko executor
RUN npm test
cmd: /bin/sh
args: [-c npm test]
util.Lookup returned: &{Uid:100 Gid:65533 Username:app Name:app HomeDir:/home/app}
performing slow lookup of group ids for app
Running: [/bin/sh -c npm test]
error building image: error building stage: failed to execute command: starting command: fork/exec /bin/sh: permission denied
I am not facing the same issue when i build the same dockerfile using docker in my local machine.
Expected behavior
It should execute the command and show the result as below,
npm test
Error: no test specified
To Reproduce
Steps to reproduce the behavior:
Additional Information
no dependent files
containerTemplate(name: 'kaniko', image: "gcr.io/kaniko-project/executor:debug", ttyEnabled: true, command: "/busybox/cat")
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: