From 9f5ae270000b0c826697052bd15c4d0e5f5abbb5 Mon Sep 17 00:00:00 2001 From: chabad360 Date: Wed, 1 Aug 2018 16:25:33 -0700 Subject: [PATCH] fixed dbench and added check for crontab --- Dockerfile | 1 + dbench | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf31db7b..ccf4b4d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN apt-get install -y curl RUN apt-get install -y rlwrap RUN apt-get install redis-tools RUN apt-get install -y nano +RUN apt-get install -y crontab # Generate locale C.UTF-8 for mariadb and general locale data ENV LANG C.UTF-8 diff --git a/dbench b/dbench index 31132fc6..614857c0 100755 --- a/dbench +++ b/dbench @@ -40,7 +40,7 @@ then elif [[ $1 == 'init' && $2 == '-d' ]] then frappe_installer - docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json" + docker exec -it frappe bash -c "cat frappe-bench/sites/site1.local/site_config.json" elif [ $1 == 'init' ] then @@ -72,7 +72,7 @@ else ;; :) echo "Option -$OPTARG requires an argument." >&2 - displpay_usage + display_usage exit 1 ;; esac