Closed hkraal closed 9 years ago
Will check properly later, but use:
.whiskey/action_hooks/pre-build
and make sure is executable.
The name of the sub directory changed but it looks like I stuffed up the backwards compatibility stuff for on-build so old path still worked.
In other words, rather than a '.docker' subdirectory, use '.whiskey' subdirectory.
That works like a charm, the pre-build script is being picked up correctly now. Thank you very much for sharing!
I believe I have fixed and regenerated the docker images now. The newer images also use latest Apache and mod_wsgi versions.
This docker images seems awsome, thank you for sharing! I'm assuming I'm the one to fail here but I'm not sure where it's going wrong. I'm trying to dockerize an
Django
application which requiresMySQL-python
. This fails aslibmysqlclient-dev
is missing.To set this straight I created an
.docker/action_hooks/pre-build
file which should be called before the pip install part inbuild.sh
, it however doesn't as I don't see the expectedecho " -----> Running .whiskey/action_hooks/pre-build
output and the error remains the same.What am I missing here.
$ docker build -t my-app .
$ cat Dockerfile:
$ cat requirements.txt:
$ cat .docker/action_hooks/pre-build:
$ stat .docker/action_hooks/pre-build