gdpr-dump icon indicating copy to clipboard operation
gdpr-dump copied to clipboard

standalone executable with bundled php

Open bloep opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. This tool is so flexible that it can also be used for systems that do not have php installed.

For example, we also use it to anonymize a MySQL DB of a Java EE application.

Describe the solution you'd like Since gdpr-dump provides already a phar file, it could be easily combined with something like static-php-cli.

i tried it myself with the cli version and it worked great.

that would have advantages like:

  • can be used directly on systems without installed php (e.g. docker containers)
  • can always use the latest php version (with improvements & better performance)
  • optimized php.ini config (e.g. memory_limit)

bloep avatar Mar 28 '24 14:03 bloep

Some type of docker project for this might also help.

carlos-reynosa avatar May 13 '24 19:05 carlos-reynosa

A plain executable without docker sounds like a more lightweight and more universal solution IMO

staabm avatar May 13 '24 19:05 staabm

@bloep Sounds like a cool idea. Can you share the steps you took to generate such a binary? How big was the resulting file? I am not a maintainer here, but probably one could make a pull requests with the according github action to generate such a build?

amenk avatar Dec 12 '24 16:12 amenk