Files for building MongoDB docker container.

build_mongodb.sh 520B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/bash
  2. #
  3. #################################
  4. #
  5. # DO NOT CALL THIS SCRIPT DIRECTLY.
  6. #
  7. # use the Makefile.
  8. #
  9. #################################
  10. #
  11. # Build the mongodb docker container using the Dockerfile
  12. #
  13. # https://charlesreid1.com/wiki/Docker/Dockerfiles
  14. function usage {
  15. echo ""
  16. echo "build_mongodb.sh script:"
  17. echo "builds a MongoDB docker container."
  18. echo ""
  19. echo " ./build_mongodb.sh"
  20. echo ""
  21. }
  22. if [[ "$#" -ne 0 ]];
  23. then
  24. usage
  25. else
  26. docker build -t jupitermongo .
  27. fi