mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-04 17:18:40 +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
|
# This bash script creates a docker image from an existing pdf2htmlEX
|
||||||
|
|
||||||
|
if [ -x "$(which docker)" ]; then
|
||||||
|
|
||||||
source buildScripts/versionEnvs
|
source buildScripts/versionEnvs
|
||||||
|
|
||||||
source buildScripts/dockerFunctions
|
source buildScripts/dockerFunctions
|
||||||
|
@ -31,4 +33,7 @@ cd ..
|
||||||
|
|
||||||
docker build -t stephengaito/pdf2htmlex:test-`date +%Y%m%d-%H.%M.%S` dockerDir
|
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