Icinga / Icinga/docker-icingaweb2
PDF/CSV export
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 18
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I am having issues with PDF export on icingaweb2 pages (does not work out of the box).
Enabling the PDFexport module google-chrome is needed in the docker image. Can this be added as default to the Dockerfile?
Dokerfile diff
`-RUN ["bash", "-exo", "pipefail", "-c", "export DEBIAN_FRONTEND=noninteractive; apt-get update; apt-get install --no-install-{recommends,suggests} -y apache2 ca-certificates libapache2-mod-php7.4 libldap-common locales-all php-{imagick,redis} php7.4-{bcmath,bz2,common,curl,dba,enchant,gd,gmp,imap,interbase,intl,json,ldap,mbstring,mysql,odbc,opcache,pgsql,pspell,readline,snmp,soap,sqlite3,sybase,tidy,xml,xmlrpc,xsl,zip}; apt-get clean; rm -vrf /var/lib/apt/lists/*"]
+RUN ["bash", "-exo", "pipefail", "-c", "export DEBIAN_FRONTEND=noninteractive; apt-get update; apt-get install --no-install-{recommends,suggests} -y wget apache2 ca-certificates libapache2-mod-php7.4 libldap-common locales-all php-{imagick,redis} php7.4-{bcmath,bz2,common,curl,dba,enchant,gd,gmp,imap,interbase,intl,json,ldap,mbstring,mysql,odbc,opcache,pgsql,pspell,readline,snmp,soap,sqlite3,sybase,tidy,xml,xmlrpc,xsl,zip}; wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb; apt-get install --no-install-recommends -y ./google-chrome-stable_current_amd64.deb; rm google-chrome-stable_current_amd64.deb; apt-get clean; rm -vrf /var/lib/apt/lists/*"]`
The downside is that the image size jumps from around 700MB to 1.1GB
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Dockerfile install step and the PDFexport module requirements described in the issue. Build the image and verify that PDF export works without manual browser installation, while checking the reported image-size increase; the CSV portion of the title is not specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100