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:
parent
c4a7a9fb03
commit
ca690632e9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user