(How) Can I pass path to Dockerfile using Kaniko? #1315
-
ContextLet's say I have following structure
my build looks as simple as: version: 1.1
kind: operation
name: build
params:
context:
value: "{{ globals.run_artifacts_path }}/uploads"
destination:
connection: docker-registry
value: machine-learning/polyaxon-tutorial:1
hubRef: kaniko Running this with command polyaxon run -f polyaxonfiles/build.yml -u Gives me very much expected error: Error: error resolving dockerfile path: please provide a valid path to a Dockerfile within the build context with --dockerfile So the Kaniko expects |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @captaincapitalism, next release we will be pushing a new set of guides, including guides for building containers and how to pass a custom dockerfile context. We will update this thread as soon as we start updating the documentation's guides section. |
Beta Was this translation helpful? Give feedback.
Hi @captaincapitalism, next release we will be pushing a new set of guides, including guides for building containers and how to pass a custom dockerfile context.
We will update this thread as soon as we start updating the documentation's guides section.