From @szymonpk on February 23, 2017 10:7
I'm trying to run custom slugbuilder image on my cluster, I'm following this doc and advices from slack. For now I'm trying plain unmodified slugbuilder code.
Steps to reproduce:
-
Env and build process:
export DEIS_REGISTRY=quay.io/
export IMAGE_PREFIX=szymon_szypulski
make deploy
Image is pushed succesfully and tagged as cannary.
-
kubectl edit configmap slugbuilder-config -n deis. I'm changing image to quay.io/szymon_szypulski/slugbuilder:canary, pullpolicy to Always.
-
I'm deleting currently running builder pod, it is recreated successfully.
-
Pushing the app, build fails.
-
kubect describe pod <slugbuilder_app_pod_name> -n deis shows:
State: Terminated
Reason: Error
Exit Code: 126
-
kubectl logs pod <slugbuilder_app_pod_name> -n deis` shows:
/usr/bin/env: bash: Permission denied
I've tried minikube and vagrant based cluster.
I'm pretty sure I'm doing something wrong, but I'm not sure what :/ I assume, official images are built same way.
Copied from original issue: deis/slugbuilder#133
From @szymonpk on February 23, 2017 10:7
I'm trying to run custom slugbuilder image on my cluster, I'm following this doc and advices from slack. For now I'm trying plain unmodified slugbuilder code.
Steps to reproduce:
Env and build process:
Image is pushed succesfully and tagged as cannary.
kubectl edit configmap slugbuilder-config -n deis. I'm changing image toquay.io/szymon_szypulski/slugbuilder:canary, pullpolicy toAlways.I'm deleting currently running builder pod, it is recreated successfully.
Pushing the app, build fails.
kubect describe pod <slugbuilder_app_pod_name> -n deisshows:kubectl logs pod <slugbuilder_app_pod_name> -n deis` shows:
I've tried minikube and vagrant based cluster.
I'm pretty sure I'm doing something wrong, but I'm not sure what :/ I assume, official images are built same way.
Copied from original issue: deis/slugbuilder#133