Fix make validate on MacOS outside container

This commit is contained in:
Damien Duportal 2019-05-06 09:40:04 +02:00 committed by Traefiker Bot
parent 79ad4b4544
commit 72397ef90c
4 changed files with 7 additions and 6 deletions

View file

@ -5,7 +5,8 @@ set -e
CERT_IMAGE="alpine:edge"
# cd to the current directory so the script can be run from anywhere.
cd `dirname $0`
SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export SCRIPT_DIR
cd "${SCRIPT_DIR}"
# Update the cert image.
docker pull $CERT_IMAGE