updated fontforge, poppler and removed unrequired scripts
This commit is contained in:
parent
74c1338bf4
commit
6dbe549109
|
@ -0,0 +1,46 @@
|
|||
FROM amazoncorretto
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN echo $ECR_IMAGE_TAG_NONPROD
|
||||
RUN echo $ARTIFACTORY_USER_NAME
|
||||
RUN echo $ARTIFACTORY_PASSWORD
|
||||
RUN echo $BUILD_CHEGG_ENV
|
||||
RUN echo $SVC_AWS_ACCESS_KEY_ID
|
||||
RUN echo $SVC_AWS_SECRET_ACCESS_KEY
|
||||
RUN echo $SVC_AWS_DEFAULT_REGION
|
||||
|
||||
RUN echo $CI_PROJECT_DIR
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
||||
# ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN dpkg --configure -a
|
||||
RUN apt-get clean
|
||||
RUN apt-get update
|
||||
RUN apt-get install -f -y python3
|
||||
RUN apt-get install dialog apt-utils -y
|
||||
RUN apt-get install -f -y python3-pip
|
||||
RUN apt-get install -f -y python3-setuptools
|
||||
RUN apt-get install -f -y wget
|
||||
RUN apt-get install -f -y poppler-utils
|
||||
RUN apt-get install -f -y jq
|
||||
RUN apt-get install -f -y zip unzip
|
||||
RUN apt-get install -f -y ffmpeg
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -f -y pdftk-java
|
||||
RUN apt install -f -y ghostscript
|
||||
RUN pip3 install --upgrade pip \
|
||||
&& apt-get clean
|
||||
RUN pip3 --no-cache-dir install --upgrade awscli
|
||||
|
||||
RUN wget https://www.imagemagick.org/download/ImageMagick.tar.gz && \
|
||||
tar -xf ImageMagick.tar.gz && \
|
||||
cd ImageMagick* && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install && \
|
||||
ldconfig /usr/local/lib
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ./buildScripts/travisLinuxDoItAll
|
|
@ -5,7 +5,7 @@ pkgname=pdf2htmlex
|
|||
_p2hname=pdf2htmlEX
|
||||
pkgver=continuous
|
||||
pkgrel=2
|
||||
_popplerver=0.89.0
|
||||
_popplerver=0.90.1
|
||||
_popplerurl="https://poppler.freedesktop.org/poppler"
|
||||
_popplerdataver=0.4.9
|
||||
_popplerdataurl="https://poppler.freedesktop.org/poppler-data"
|
||||
|
|
|
@ -14,8 +14,8 @@ echo ""
|
|||
|
||||
set -ev
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get $UNATTENDED install \
|
||||
apt-get update
|
||||
apt-get $UNATTENDED install \
|
||||
sudo \
|
||||
wget \
|
||||
git \
|
||||
|
|
|
@ -15,8 +15,8 @@ echo ""
|
|||
|
||||
set -ev
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get $UNATTENDED install \
|
||||
apt-get update
|
||||
apt-get $UNATTENDED install \
|
||||
libcairo-dev \
|
||||
libpng-dev \
|
||||
libjpeg-dev \
|
||||
|
|
|
@ -8,7 +8,7 @@ export UNATTENDED="--assume-yes"
|
|||
|
||||
export MAKE_PARALLEL="-j $(nproc)"
|
||||
|
||||
export PDF2HTMLEX_BRANCH=$TRAVIS_BRANCH
|
||||
export PDF2HTMLEX_BRANCH=SOME_BRANCH
|
||||
|
||||
export PDF2HTMLEX_PREFIX=/usr/local
|
||||
|
||||
|
@ -31,9 +31,9 @@ export DEBIAN_FRONTEND=noninteractive
|
|||
./buildScripts/buildFontforge
|
||||
./buildScripts/buildPdf2htmlEX
|
||||
./buildScripts/installPdf2htmlEX
|
||||
./buildScripts/runTests
|
||||
./buildScripts/createAppImage
|
||||
./buildScripts/createDebianPackage
|
||||
# ./buildScripts/runTests
|
||||
# ./buildScripts/createAppImage
|
||||
# ./buildScripts/createDebianPackage
|
||||
#./buildScripts/createContainerUbuntuImageFromDeb
|
||||
#./buildScripts/uploadGitHubRelease
|
||||
#./buildScripts/uploadContainerImage
|
||||
|
|
|
@ -4,11 +4,12 @@
|
|||
# versions
|
||||
|
||||
# see: https://poppler.freedesktop.org/releases.html
|
||||
# current working: 0.89.0
|
||||
# current working: 0.90.1
|
||||
|
||||
export PDF2HTMLEX_VERSION=0.18.8.rc2
|
||||
|
||||
export POPPLER_VERSION=poppler-0.89.0
|
||||
export POPPLER_VERSION=poppler-0.90.1
|
||||
#export POPPLER_VERSION=poppler-0.89.0
|
||||
#export POPPLER_VERSION=poppler-0.88.0
|
||||
#export POPPLER_VERSION=poppler-0.87.0
|
||||
#export POPPLER_VERSION=poppler-0.86.1
|
||||
|
|
Loading…
Reference in New Issue