https://www.ctl.io/developers/blog/post/gracefully-stopping-docker-containers
http://odewahn.github.io/docker-jumpstart/building-images-with-dockerfiles.html
http://odewahn.github.io/docker-jumpstart/building-images-with-dockerfiles.html
http://www.pushwatch.com/gcm/
http://apns-gcm.bryantan.info/
https://docs.docker.com/engine/tutorials/dockervolumes/
https://stackoverflow.com/questions/33743605/bcrypt-installation-fails-in-docker
It is crashing because you are missing some essentials tool for the compilation purposes of Bcrypt. Bcrypt needs to be compiled each time you do npm install to crate a version for the operating system that is running on since it is written in C.
For those that would like to use the original Bcrypt, you can run the following docker command:
docker run -t -i --rm -v $(pwd):/app -w /app node:slim sh -c 'apt-get update && apt-get install -y build-essential && apt-get install -y python && npm install'
Before we do npm install we need to:
apt-get update: make sure the package management system knows were to find what we want.
apt-get install -y build-essential: will install all the tools needed to compile C code and more
apt-get install -y python: we add python since it is needed and it is not included in the build-essential package.
Once we have all this stuff, we can run npm install successfully :)
https://stackoverflow.com/questions/33743605/bcrypt-installation-fails-in-docker
https://stackoverflow.com/questions/8305668/send-custom-messages-to-devices-in-a-batch-via-apns
$ rsync -avz --update --existing src/ dst
http://apns-gcm.bryantan.info/
https://docs.docker.com/engine/tutorials/dockervolumes/
https://stackoverflow.com/questions/33743605/bcrypt-installation-fails-in-docker
It is crashing because you are missing some essentials tool for the compilation purposes of Bcrypt. Bcrypt needs to be compiled each time you do npm install to crate a version for the operating system that is running on since it is written in C.
For those that would like to use the original Bcrypt, you can run the following docker command:
docker run -t -i --rm -v $(pwd):/app -w /app node:slim sh -c 'apt-get update && apt-get install -y build-essential && apt-get install -y python && npm install'
Before we do npm install we need to:
apt-get update: make sure the package management system knows were to find what we want.
apt-get install -y build-essential: will install all the tools needed to compile C code and more
apt-get install -y python: we add python since it is needed and it is not included in the build-essential package.
Once we have all this stuff, we can run npm install successfully :)
https://stackoverflow.com/questions/33743605/bcrypt-installation-fails-in-docker
https://stackoverflow.com/questions/8305668/send-custom-messages-to-devices-in-a-batch-via-apns
$ rsync -avz --update --existing src/ dst
Comments
Post a Comment