kubernetes-up-and-running / kuard

Demo app for Kubernetes Up and Running book
Apache License 2.0
1.61k stars 541 forks source link

fix #21 #27

Closed fdumontmd closed 5 years ago

fdumontmd commented 5 years ago

When docker maps a non-existent local directory, it creates the directory as root. This causes error in the build because the mapped directory is not writable by the current user.

Fixed by explicitly creating the directory before invoking docker.

jbeda commented 5 years ago

I rewrote the Makefile today to make things simpler. I haven't seen this issue but I'm going to add this line anyways. Thanks for the PR! See https://github.com/kubernetes-up-and-running/kuard/commit/ad57be346b553b63254cc3d52b9ec00afc37b769.