-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate FSCrawler docker images #820
Conversation
Hmm, I will check above warnings. |
That looks great! Thank you so much for working on that! ❤️ |
That looks amazing. I saw that you modified the current distribution modules which are generating the ZIP files. Is that the way to do it or should we create instead new distribution modules specifically for docker images? |
Thank you for taking the time to see my changes and comment on me.
I want to suggest that we do not need to create new modules because docker is one of the ways to distribute to someone such as zip or tarball. |
Excuse me while suggesting as above, please lend me some help to resolve warning messages from the LGTM analysis. Is it possible to run the LGTM analysis with the "-Ddocker.skip" flag or the "-Ddocker.skip.build" flag in the same way as the "-DskipTests" flag to be able to build in the environments that docker is not installed in? |
I see. Actually the Docker image is not uploaded to Maven central but to Docker repository. Makes sense.
Right. Thanks |
based on https://lgtm.com/help/lgtm/java-extraction#exporting-variable-customizing-maven I'm wondering if you could change the extraction:
python:
python_setup:
version: 3
setup_py: false
java:
before_index:
export DOCKER_SKIP=true and then change the <env.DOCKER_SKIP>false</env.DOCKER_SKIP>
<docker.skip>${env.DOCKER_SKIP}</docker.skip> Not sure if that would work... I guess you need to try. |
Thank you very match ❗ I will try it soon. |
Another comment is that it would be great to add some documentation about what you did. |
I am very happy and honored to say that. I will add docs too. By the way, could I ask you on which page should I add the new docs? "tips" or a new page? |
I wonder if we should add a new section in https://fscrawler.readthedocs.io/en/latest/user/getting_started.html Which is this file: https://github.com/dadoonet/fscrawler/blob/master/docs/source/user/getting_started.rst Eventually I'll reorganize the documentation at some point. |
Thank you for detail. I understand. |
I have done the work to update. |
I started but I'm traveling atm and the airport wifi did not let me enough bandwidth to test it 😉 |
Thanks for adding the documentation! Could you rebase on master or merge master in your branch? Could you guide me on that? (Total n00b on Dockerhub 🤣) |
Today, I did the above.
OK, Could you try it below? Preparation1. Create your Dockerhub Account.
2. Create a repository named
|
…to toto1310-docker-2.7
Amazing @toto1310. It works very well. See https://hub.docker.com/r/dadoonet/fscrawler I'm trying to add some documentation and make all that working from TravisCI as well so we can have automatic publication of new snapshots. Stay tuned! Thank you so much for your help so far. |
Could you tell me how to run it? docker run dadoonet/fscrawler fscrawler foo Where I'm supposed to put the config file and how to mount the data dir? |
Thank you for your work! I'm looking forward to it!!
For example, you can run FSCrawler that read its configuration files from /root/.fscrawler(i.e. --config_dir) and its target files from /tmp/es(i.e. fs.url).
For more detail, please refer to https://docs.docker.com/engine/reference/run/. |
Adding more commits to your PR
As we upgraded the needed JDK
@toto1310 I don't know if you could help here building a new version of the Docker images updated to JDK15 or so. |
Closing this one with #1122 |
Hello
I created the docker images for FSCrawler. I would be happy if you could merge them.
I also pushed them to Dockerhub, and I wrote how to use it.