File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
33## Unreleased
4+
5+ ### Added
46- Improve memory management and error handling ([ #70 ] ( https://github.com/opendevstack/ods-document-generation-svc/pull/70 ) )
7+
8+ ### Fixed
9+ - ODS AMI build failing due to broken x11 fonts package installation ([ #74 ] ( https://github.com/opendevstack/ods-document-generation-svc/pull/74 ) )
510
611## [ 4.0] - 2021-18-11
712
Original file line number Diff line number Diff line change @@ -6,11 +6,12 @@ WORKDIR /app
66COPY app.jar ./app.jar
77COPY entrypoint.sh ./entrypoint.sh
88
9- # Install wkhtmltopdf
109RUN yum update -y && \
11- yum install -y libX11 libXext libXrender libjpeg xz xorg-x11-fonts-Type1 git-core && \
12- curl -kLO http://mirror.centos.org/centos/8/AppStream/aarch64/os/Packages/xorg-x11-fonts-75dpi-7.5-19.el8.noarch.rpm && \
13- rpm -Uvh xorg-x11-fonts-75dpi-7.5-19.el8.noarch.rpm && \
10+ yum install -y libX11 libXext libXrender libjpeg xz xorg-x11-fonts-Type1 git-core
11+
12+ # Install wkhtmltopdf
13+ COPY yum.repos.d/centos8.repo /etc/yum.repos.d/centos8.repo
14+ RUN yum install -y xorg-x11-fonts-75dpi && \
1415 curl -kLO https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos8.x86_64.rpm && \
1516 rpm -Uvh wkhtmltox-0.12.5-1.centos8.x86_64.rpm && chmod +x entrypoint.sh
1617
Original file line number Diff line number Diff line change 1+ [centos-baseos]
2+ name=CentOS-8-BaseOS
3+ baseurl=http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/
4+ enabled=1
5+ gpgcheck=1
6+ gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
7+
8+ [centos-appstream]
9+ name=CentOS-8-AppStream
10+ baseurl=http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/
11+ enabled=1
12+ gpgcheck=1
13+ gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
You can’t perform that action at this time.
0 commit comments