You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

root.sh 205B

123456789101112131415161718
  1. #! /bin/sh
  2. #
  3. if [ -f .env ]
  4. then
  5. set -o allexport;
  6. . ./.env;
  7. set +o allexport
  8. else
  9. echo Missing .env file
  10. exit 1
  11. fi
  12. docker exec \
  13. -it \
  14. --user root \
  15. ${DOCKER_PREFIX}-web \
  16. /bin/bash