{"id":18354483,"url":"https://github.com/alvarofpp/docker-antlr4","last_synced_at":"2026-04-11T20:45:16.334Z","repository":{"id":45362995,"uuid":"437348379","full_name":"alvarofpp/docker-antlr4","owner":"alvarofpp","description":"A docker image for ANTLR4.","archived":false,"fork":false,"pushed_at":"2024-02-06T23:00:25.000Z","size":22,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-24T01:37:30.032Z","etag":null,"topics":["antlr4","docker","docker-image"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/alvarofpp/antlr4","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarofpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-12-11T17:37:46.000Z","updated_at":"2025-06-28T10:35:27.000Z","dependencies_parsed_at":"2025-02-15T16:38:06.126Z","dependency_job_id":"131df594-8072-4e2f-86b3-17da429cc89d","html_url":"https://github.com/alvarofpp/docker-antlr4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"alvarofpp/template-docker","purl":"pkg:github/alvarofpp/docker-antlr4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-antlr4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-antlr4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-antlr4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-antlr4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarofpp","download_url":"https://codeload.github.com/alvarofpp/docker-antlr4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-antlr4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31695165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T20:18:30.949Z","status":"ssl_error","status_checked_at":"2026-04-11T20:18:29.982Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["antlr4","docker","docker-image"],"created_at":"2024-11-05T22:04:14.473Z","updated_at":"2026-04-11T20:45:16.316Z","avatar_url":"https://github.com/alvarofpp.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker image for ANTLR4\n\n[![Docker Hub](https://img.shields.io/badge/-Docker_Hub-0062cc?style=for-the-badge\u0026logo=Docker\u0026logoColor=white)][docker-hub]\n\nA docker image based in Alpine for [ANTLR4][antlr4], inspired by the [official image][antlr4-docker].\n\n```shell\ndocker pull alvarofpp/antlr4\n```\n\n\u003e If you want to start a project using ANTLR4, I recommend using the following boilerplate:\n  [alvarofpp/boilerplate-antlr4][boilerplate-antlr4].\n\n## How to use\n\nGenerate files from your grammar:\n\n```shell\ndocker run --rm -u $(id -u) -v $(pwd):/work alvarofpp/antlr4 antlr -Dlanguage=Java Expr.g4\n```\n\nCompile:\n\n```shell\ndocker run --rm -u $(id -u) -v $(pwd):/work alvarofpp/antlr4 javac src/Expr*.java\n```\n\nView using the GUI (tested on Ubuntu 20.04.3 LTS):\n\n```shell\ndocker run --rm -u $(id -u) -it \\\n  -e DISPLAY=$(hostname -I | cut -f1 -d' '):0 \\\n  -v /tmp/.X11-unix:/tmp/.X11-unix \\\n  -v $(pwd)/src:/work alvarofpp/antlr4 grun Expr prog -gui\n```\n\n[antlr4]: https://github.com/antlr/antlr4\n[antlr4-docker]: https://github.com/antlr/antlr4/tree/master/docker\n[boilerplate-antlr4]: https://github.com/alvarofpp/boilerplate-antlr4\n[docker-hub]: https://hub.docker.com/r/alvarofpp/antlr4\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarofpp%2Fdocker-antlr4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarofpp%2Fdocker-antlr4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarofpp%2Fdocker-antlr4/lists"}