-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
standard_init_linux.go:211: exec user process caused "no such file or directory" #1104
Comments
only reverting to 0.15.0 lets me actually get working images |
Having this issue as well using the kaniko builder in Google' Cloud Build. Would love to get some eyes on this as it has been a massive pain to debug. |
facing same issue with version 17.1 but only when building images based on debian |
@donnyv12 are you using the |
@bitsofinfo and @donnyv12 can you please provide some more context to help us debug your issue
Thanks |
ping! |
Hi @tejal29 sorry for the delay. I am using the The docker file is quite large, and is based on a centos image. I'll try clearing the cache and see if that solves it. |
@donnyv12 - if you get a chance to provide a Dockerfile, I can probably help get to the bottom of this one. My gut instinct: the programmed called via "RUN" requires libc, which Kaniko lacks. Second best guess is a PATH or architecture difference. |
@bitsofinfo Can you please try this with latest v0.20.0 release and let us know if it still exists. |
It looks like I'm running into a similar issue, and I have a repro that I can share: This tree of my repo with this Dockerfile: # Use nxgo/cli as the base image to do the build
FROM nxgo/cli as builder
# Create app directory
WORKDIR /workspace
# Copy package.json and the lock file
COPY package.json yarn.lock /workspace/
# Install app dependencies
RUN yarn
# Copy source files
COPY . .
# Build apps
RUN yarn build api
# This is the stage where the final production image is built
FROM gcr.io/distroless/base
# Copy over artifacts from builder image
COPY --from=builder /workspace/dist/apps/api /app
# Set environment variables
ENV PORT=3000
ENV HOST=0.0.0.0
# Expose default port
EXPOSE 3000
# Start server
CMD [ "/app" ] I'm using the following commands:
|
I'm running into this issue too when using the Google Cloud Builders Community Firebase build step. I don't have a Dockerfile, only a
Where I'm using this command locally with the latest version of Happy to provide any additional information as needed. EDIT: For what it's worth, I'm following the official Google tutorial for deploying to Firebase. |
Well I figured it out for me! Since I'm on Windows, I needed to change the line endings of I created an issue for Firebase here: GoogleCloudPlatform/cloud-builders-community#443 |
Running
gcr.io/kaniko-project/executor:debug
17.1I have a dockerfile that when i build locally runs fine, however when kaniko builds it, running it yields
standard_init_linux.go:211: exec user process caused "no such file or directory"
what would cause this?
#1024 related?
The text was updated successfully, but these errors were encountered: