slimdump
slimdump copied to clipboard
Provide Docker image
Is anybody interested in having a webfactory/slimdump
Docker image? Give 👍 .
Any volunteers to do the work? Open PRs :-).
Which php version do you expect to be used?
7.4 oder 7.3?
Hi @kaystrobach, thanks for your reply.
I also care about this issue. IMHO, I prefer using the php-7.3
because this version is stable and it's not the latest version :).
Does that make a difference when we’re running in a container?
Yes as it would mean adjustment of the baseimage dependency.
I would go with the latest verdion if slimdump works with 7.4.
@mpdude and @kaystrobach. Just go ahead with using the PHP-7.4
to build this Docker image.
I will create the related PR at my available time :).
Maybe we need to discuss how the config file(s) can conveniently be passed into the container?
I guess it would be rather cumbersome having to mount them into the container and then specify them as arguments.
So, would it make sense if the config could be passed via STDIN? Maybe that happens automatically if no single config file is given?
How could we deal with multiple configs then?
cat config1.xml config2.xml | docker run --rm -it webfactory/slimdump {DSN} > out.sql
We could also have -
as the default argument for the container so the default would be to fetch the DSN from the env var?