Open jayvdb opened 8 years ago
Exactly what I wanted to propose right now... ;)
Note that you can also test Docker images on Travis CI.
May be we should combine it with Vagrant: https://blog.codeship.com/cross-platform-docker-development-environment/
We have the first successful build of centos-7 and with that of all 3: https://travis-ci.org/pywikibot-catfiles/docker-file-metadata/builds/149680057
I had to kick the centos-7 build several times due to: https://github.com/pywikibot-catfiles/file-metadata/issues/60
Also added a debian-jessie
Dockerfile as initially requested, all build nicely: https://travis-ci.org/pywikibot-catfiles/docker-file-metadata/builds/149727635
Now the question is whether you want to build a docker based on yuvipanda/pawsuser
and add stuff from Dockerfile.debian
to get a combined one OR you want to link the two together? E.g. by server/client architecture, use --link
, have shared data volumes (https://docs.docker.com/engine/tutorials/dockervolumes/), any other idea?
Note the still existing (funny?) difference between the centos-7
dockers from travis (~1GB) versus dockerhub (861MB): https://hub.docker.com/r/pywikibotcatfiles/docker-file-metadata/tags/
includes everything needed: just start the docker, configure with wikibot-create-config
and you are ready to run wikibot-filemeta-log
and wikibot-filemeta-simple
.
I could file a pull request for https://github.com/drtrigon/paws/blob/master/singleuser/Dockerfile if file-metadata would be py3 compatible. ;) Was not aware that PAWS is py3, so finally zbar refused to compile in pip. See also https://github.com/pywikibot-catfiles/file-metadata/issues/68
Preferrably
FROM debian:jessie
so it is the same basis as Pywikibot and can be easily loaded into the Wikimedia VMs, and into PAWS by adding missing stuff into https://github.com/yuvipanda/paws/blob/master/singleuser/Dockerfile