We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This same branch / commit ID builds successfully on my Gitlab server but when run locally with glci I get the following error.
$ glci --only-jobs=build ----------------------------------------------- Running job "build" for stage "build" ----------------------------------------------- ℹ - Using existing image "gcr.io/kaniko-project/executor:debug" mkdir -p /root/.docker OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "process_linux.go:101: executing setns process caused \"exit status 1\"": unknown ✘ - build
The build stage in my .gitlab-ci.yml looks like this
build: stage: build image: gcr.io/kaniko-project/executor:debug before_script: - mkdir -p /root/.docker - echo $DOCKER_AUTH_CONFIG > /root/.docker/config.json script: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $RUN_TAG --destination $BRANCH_TAG --destination $COMMIT_TAG tags: - kubernetes variables: GIT_SUBMODULE_STRATEGY: normal
The text was updated successfully, but these errors were encountered:
I've tried to run the job you provided as example and got the same error. Could you please provide the Dockerfile used to build this image ?
Thanks for reporting this by the way ! 👌
Sorry, something went wrong.
Here ya go. I'm limited to how many details I can post publicly. I hope this is enough to work from.
FROM my-private-registry.com/team/base-images/webapp-base:master COPY ./enterprise /mnt/enterprise COPY ./custom_addons /mnt/custom_addons ENV WEBAPP_BASE_RC /etc/webapp/webapp.conf COPY ./webapp.conf $WEBAPP_RC EXPOSE 8069 8072 RUN pip3 install -r /mnt/custom_addons/requirements.txt COPY ./wsgi/webapp_wsgi.py /etc/webapp/ RUN chown webapp:webapp /etc/webapp/webapp_wsgi.py && chmod ug+rwx /etc/webapp/webapp_wsgi.py COPY ./scripts/ /etc/webapp/scripts RUN chown -R webapp:webapp /etc/webapp/scripts && chmod -R ug+rwx /etc/webapp/scripts USER webapp RUN echo 'function webapp-shell() { /etc/webapp/webapp/webapp-bin shell -d "$WEBAPP_DB_NAME" --db_host="$WEBAPP_DB_HOST" --db_password="$WEBAPP_DB_PASSWORD"; } '>> ~/.bashrc RUN echo 'export -f webapp-shell;' >> ~/.bashrc WORKDIR /etc/webapp/webapp
No branches or pull requests
This same branch / commit ID builds successfully on my Gitlab server but when run locally with glci I get the following error.
The build stage in my .gitlab-ci.yml looks like this
The text was updated successfully, but these errors were encountered: