1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-06-30 15:39:00 +00:00

continued work on image creation

This commit is contained in:
Stephen Gaito 2019-11-23 10:25:09 +00:00
parent 1580ce3e53
commit 2be9837422
3 changed files with 21 additions and 4 deletions

View File

@ -18,15 +18,18 @@ cd ../../imageBuild
#
cp /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 pdf2htmlEX.AppDir/usr/lib/
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
LINUX_DEPLOY_APP_IMAGE=linuxdeploy-$MACHINE_ARCH.AppImage
chmod a+x linuxdeploy-x86_64.AppImage
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/$LINUX_DEPLOY_APP_IMAGE
./linuxdeploy-x86_64.AppImage \
chmod a+x $LINUX_DEPLOY_APP_IMAGE
./$LINUX_DEPLOY_APP_IMAGE \
-e pdf2htmlEX.AppDir/usr/bin/pdf2htmlEX \
--create-desktop-file \
-i ../pdf2htmlEX/logo/pdf2htmlEX.svg \
--appdir=pdf2htmlEX.AppDir \
--output appimage
mv pdf2htmlEX-x86_64.AppImage pdf2htmlEX-$PDF2HTMLEX_VERSION-x86_64.AppImage
mv pdf2htmlEX-$MACHINE_ARC.AppImage \
pdf2htmlEX-$PDF2HTMLEX_VERSION-$MACHINE_ARCH.AppImage

13
buildScripts/createDockerImage Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# This bash script creates an Docker Image for pdf2htmlEX
source buildScripts/versionEnvs
cd imageBuild
pip install git+https://github.com/larsks/dockerize
dockerize \
/usr/bin/pdf2htmlEX \

View File

@ -8,3 +8,4 @@ export POPPLER_VERSION=poppler-0.81.0
#export FONTFORGE_VERSION=20190801
export FONTFORGE_VERSION=20170731
export PDF2HTMLEX_VERSION=newBuildSystem
export MACHINE_ARCH=`uname -m`