Files for building MongoDB docker container.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

32 行
520B

  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