Build image directly in Kubernetes (e.g. using Kubernetes Job) #136
Unanswered
collimarco
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@collimarco there are various k8s based platforms available. You can also directly build an image using a |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have nearly found a solution:
However I get an error from
Do you have any idea on how to solve this (we are inside a pod)? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have read the docs multiple times, but I can't find an answer.
Is there any way to build an image, using
pack
or similar, directly inside a Kubernetes pod / job?Example:
Is there any way to specify in the args that we want to download the app source code from a git repo and upload it to a docker registry?
Here's an ideal workflow:
Job
in KubernetesJob
launches apack
container passing some argmentspack
container automatically downloads source code from a git repo and uploads the built image to a registryIs it possible to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions