pkp/docker-ojs

Missing libraries and tools in Dockerfile

marcbria opened this issue · 4 comments

Some libraries & tools are missing in the docker image to release all OJS potential:

  • perl
  • pdf2txt & antiword
  • lib-magic

"/usr/bin/perl" link is broken (perl is not installed) so there is a lack of perl suport.

Looks like "pdf2txt" is packaged inside "poppler-utils"

You can add those tools to alpine with:
$ apk add libmagic antiword perl poppler-utils

It will probably increase significantly the weight of the images, but at same time will let use release a more solid and full functional images.

If nobody is against it, docker images will be fixed to include this changes and versions greater than 3.2 will be rebuilt in dockerHub.

any update?

Hi @LuisLepidus

Thanks to remember about this.

This summer dockerHub decided to remove the autobuild feature and we are looking for alternatives so improvements like this are in the bottom of the list.

Anyway, if somebody can contrib with a PR... things will probably go faster.

Cheers,
m.

All right, in the next few days I will be working to contribute to the repository.

New issues and PR will be created in the next few days.

Cheers,
Luis Leal.

Noticed issues with LOCKSS (PKP PN) due missing zip module.

Take a look to this: pkp/pkp-lib#7088