Skip to content
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

构建的时候报错Error: error resolving dockerfile path: please provide a valid path to a Dockerfile within the build context with --dockerfile #211

Open
ydcloud-dy opened this issue Oct 31, 2024 · 1 comment

Comments

@ydcloud-dy
Copy link

运行环境

  • 应用版本:
    • atomci-frontend: 1.5.3
    • atomci:1.5.3
  • Kubernetes:1.30

问题描述

项目构建的时候报错

  • /kaniko/executor -f Dockerfile -c ./ -d nginx:master-4c9e798 --insecure --skip-tls-verify --insecure-pull
    Error: error resolving dockerfile path: please provide a valid path to a Dockerfile within the build context with --dockerfile
    Usage:
    executor [flags]
    executor [command]

截图

image
image

@colynn
Copy link
Member

colynn commented Nov 2, 2024

构建时要求 应用代码仓库里要有 Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants