{"id":41480798,"url":"https://github.com/codejive/s2i-asciidoc","last_synced_at":"2026-01-23T17:18:24.088Z","repository":{"id":147193286,"uuid":"112263181","full_name":"codejive/s2i-asciidoc","owner":"codejive","description":"OpenShift S2I builder image for Asciidoc","archived":false,"fork":false,"pushed_at":"2025-08-11T15:34:52.000Z","size":17,"stargazers_count":1,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-20T11:02:17.372Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codejive.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,"zenodo":null}},"created_at":"2017-11-28T00:04:27.000Z","updated_at":"2025-05-07T11:48:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"13853b80-373a-4c38-aa3c-32cddee778a7","html_url":"https://github.com/codejive/s2i-asciidoc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codejive/s2i-asciidoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codejive%2Fs2i-asciidoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codejive%2Fs2i-asciidoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codejive%2Fs2i-asciidoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codejive%2Fs2i-asciidoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codejive","download_url":"https://codeload.github.com/codejive/s2i-asciidoc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codejive%2Fs2i-asciidoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28696523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"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":[],"created_at":"2026-01-23T17:18:23.984Z","updated_at":"2026-01-23T17:18:24.071Z","avatar_url":"https://github.com/codejive.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"S2I Asciidoc Builder Image\n=================\n\nThis is an S2I builder image that takes Asciidoc files from a source\nrepository, converts them into HTML using Asciidoctor and serves them up\nusing a simple HTTP server.\n\nBy default the builder looks for Asciidoc files in the `adoc` folder\nin the source repository.\n\nUsage\n---------------------\n\n_IMPORTANT: for this to work you need to have S2I installed: https://github.com/openshift/source-to-image_\n\nIf you just want a very quick simple example, try this:\n\n```\ns2i build https://github.com/quintesse/s2i-asciidoc.git --context-dir=test/adoc-sample/ quintesse/s2i-asciidoc adoc-sample-image\n```\n\nThis will look for any Asciidoc files in the `adoc` folder in the repository https://github.com/quintesse/s2i-asciidoc/tree/master/test/adoc-sample\nand convert all of it to HTML. It will then generate a local Docker image called `adoc-sample-image` containing all that HTML and an HTTP server.\n\nYou can then run the resulting image via:\n\n```\ndocker run -p 8080:8080 adoc-sample-image\n```\n\nWhich will make the generated HTML available in your browser at:\n\nhttp://localhost:8080\n\nEnvironment variables\n---------------------\n\nTo set these environment variables, you can place them as a key value pair into a `.sti/environment`\nfile inside your source code repository.\n\n* **ADOC_DIR**\n\n    By default the builder looks in the `adoc` folder for any Asciidoc source files. This can be changed\n    by setting this variable to the path where the builder _should_ look.\n\n* **OUTPUT_DIR**\n\n    By default all the output goes to `html`. This variable can be used to change that, although there\n    really isn't much use for it.\n\n* **ASCIIDOCTOR_OPTIONS**\n\n    This variable can be used to pass any extra options to the `asciidoctor` command.\n\nOpenShift Manual Setup\n---------------------\n\nIf you want to use the S2I Asciidoc builder image properly in an OpenShift v3 server then follow these steps in the web console:\n\n - Log in to the OpenShift console\n - Select or create a project\n - Click the \"Add to Project\" button\n - Select the \"Import YAML / JSON\" tab\n - Copy \u0026 paste the contents of the [image-streams.json](https://github.com/quintesse/s2i-asciidoc/blob/master/image-streams.json) file into the text box\n - Click the \"Create\" button\n\nNow whenever you go back to the \"Add to Project\" screen there should be an entry for the \"Asciidoc Builder\".\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodejive%2Fs2i-asciidoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodejive%2Fs2i-asciidoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodejive%2Fs2i-asciidoc/lists"}