1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

check for existing docker commands before trying to create docker

This commit is contained in:
Stephen Gaito 2019-11-26 07:52:30 +00:00
parent c4a7a9fb03
commit ca690632e9

View File

@ -2,6 +2,8 @@
# This bash script creates a docker image from an existing pdf2htmlEX
if [ -x "$(which docker)" ]; then
source buildScripts/versionEnvs
source buildScripts/dockerFunctions
@ -31,4 +33,7 @@ cd ..
docker build -t stephengaito/pdf2htmlex:test-`date +%Y%m%d-%H.%M.%S` dockerDir
else
echo "Docker is not installed... skipping creation of a docker image."
fi