Skip to content

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

@ydcloud-dy

Description

@ydcloud-dy

运行环境

  • 应用版本:
    • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions