certbot_plugin_gandi/dev/dev_shell.sh

8 lines
244 B
Bash
Raw Normal View History

2018-03-15 15:39:18 +01:00
#!/bin/bash
set -e
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
PROJ_DIR="$(dirname "$SCRIPT_DIR")"
docker run -it --rm --entrypoint /bin/sh -e GANDI_API_KEY -v "$PROJ_DIR:/tmp/work" certbot/certbot:v0.22.0 '/tmp/work/dev/tools/initfile.sh'