{"id":21731781,"url":"https://github.com/evref-bl/verveinej-docker","last_synced_at":"2026-03-03T13:01:12.711Z","repository":{"id":55070142,"uuid":"522873667","full_name":"Evref-BL/VerveineJ-Docker","owner":"Evref-BL","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T16:08:18.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T17:26:55.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Evref-BL.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-09T08:55:37.000Z","updated_at":"2025-03-17T16:08:22.000Z","dependencies_parsed_at":"2023-12-08T12:28:49.698Z","dependency_job_id":"62e7c649-ecd9-4e83-af98-b5ec237fe79e","html_url":"https://github.com/Evref-BL/VerveineJ-Docker","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evref-BL%2FVerveineJ-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evref-BL%2FVerveineJ-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evref-BL%2FVerveineJ-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evref-BL%2FVerveineJ-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Evref-BL","download_url":"https://codeload.github.com/Evref-BL/VerveineJ-Docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711938,"owners_count":20497417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T04:27:22.429Z","updated_at":"2026-03-03T13:01:12.694Z","avatar_url":"https://github.com/Evref-BL.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VerveineJ Dockerfile\n\nThis docker file configures VerveineJ to be used with the local system\n\nIt automatically uses VerveineJ with the good Java version.\n\n## Releases \n\n| tag name | release |\n| :---: | :---: |\n| `main` | Last release of this docker with latest VerveineJ |\n| `latest` | Latest VerveineJ release (potentially not with latest docker option) |\n| `vX.X.X` | Follow [VerveineJ releases](https://github.com/moosetechnology/VerveineJ) |\n\n## Command line\n\nTo run this docker, first, separate the sources and the dependency into two different folders.\nThen execute the following command:\n\n```sh\ndocker pull ghcr.io/evref-bl/verveinej:latest\ndocker run -v \u003cfull/path/toSource\u003e:/src [-v \u003cfull/path/toDependency\u003e:/dependency] ghcr.io/evref-bl/verveinej:latest \u003cverveineJOption\u003e\n```\n\n\u003e Note1: The option `-v \u003cfull/path/toDependency\u003e:/dependency` binds (or mounts) a directory on the host computer to the `dependency` directory in the docker virtual machine.\n\u003e VerveineJ-Docker automatically uses this repository\n\n\u003e Note2: Similarly `-v \u003cfull/path/toSource\u003e:/src` (`-v` for `-volume`) binds a directory on the host computer to the `src` directory in the docker virtual machine.\n\u003e VerveineJ in the docker image runs inside this `src` directory. Therefore, it parses any Java file in `src`.\n\n### Environment variable\n\n- `JAVA_XMX` can be used to set the max heap of the Java vm\n  \n  `-e JAVA_XMX=-Xmx4G`\n\n### Mac docker config\n\nBy default, docker might allows not enough space for running the application.\nDo not hesitate to increase it.\n\n```sh\ncolima start --cpu 4 --memory 16\n```\n\n### Example\n\nBasic example using docker desktop\n\n```sh\ndocker run --rm -e JAVA_XMX=-Xmx4G -v D:\\Users\\benoit.verhaeghe\\Documents\\git\\badetitou\\Carrefour\\testing\\src\\:/src ghcr.io/evref-bl/verveinej:latest -format json -o testoutput.json\n```\n\nAnother example with docker in Window **without** docker desktop but with docker in wsl2 (see [this blog post](https://dev.to/_nicolas_louis_/how-to-run-docker-on-windows-without-docker-desktop-hik))\n\n```sh\ndocker run --rm -v \"/mnt/d/Developpement/git/evol-critics:/src\" ghcr.io/evref-bl/verveinej:latest -Xmx16g -- -format json -alllocals -anchor assoc -o output.json\n```\n\n## GitLab example\n\n```yml\nparse:\n  stage: parse\n  image:     \n    name: ghcr.io/evref-bl/verveinej:v3.2.4\n    entrypoint: [\"\"]\n  needs:\n  script:\n    - java -jar /VerveineJ.jar -format json -o model.json -alllocals -anchor assoc -autocp ./repo ./src\n  artifacts:\n    paths:\n      - model.json\n  only:\n  - ci-backend\n```\n\n## GitHub example\n\nUse the VerveineJ docker image in a GitHub action (example for version `v3.2.4`)\n\n```yml\nname: My CI\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        smalltalk: [  Moose64-10 ]\n    name: ${{ matrix.smalltalk }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: '0'\n      - uses: addnab/docker-run-action@v3\n        with:\n          registry: ghcr.io\n          image:  ghcr.io/evref-bl/verveinej:v3.2.4\n          options: -v ${{ github.workspace }}:/src\n          run: |\n            cd tests\n            java -jar VerveineJ.jar -format json -o output.json -alllocals -anchor assoc .\n            cd ..\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevref-bl%2Fverveinej-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevref-bl%2Fverveinej-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevref-bl%2Fverveinej-docker/lists"}