{"id":42212892,"url":"https://github.com/foliant-docs/docker","last_synced_at":"2026-01-27T01:06:53.194Z","repository":{"id":37611867,"uuid":"114237047","full_name":"foliant-docs/docker","owner":"foliant-docs","description":"Docker images for Foliant","archived":false,"fork":false,"pushed_at":"2025-12-19T13:22:11.000Z","size":163,"stargazers_count":8,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-22T04:44:36.797Z","etag":null,"topics":["docker","docker-compose","foliant"],"latest_commit_sha":null,"homepage":"https://github.com/foliant-docs/docker/pkgs/container/foliant%2Ffoliant","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foliant-docs.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-12-14T10:31:41.000Z","updated_at":"2025-09-29T14:37:37.000Z","dependencies_parsed_at":"2023-12-13T13:26:08.648Z","dependency_job_id":"395f3639-3b06-4c2d-8959-64601df74c44","html_url":"https://github.com/foliant-docs/docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foliant-docs/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foliant-docs%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foliant-docs%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foliant-docs%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foliant-docs%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foliant-docs","download_url":"https://codeload.github.com/foliant-docs/docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foliant-docs%2Fdocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28794642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","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":["docker","docker-compose","foliant"],"created_at":"2026-01-27T01:06:52.193Z","updated_at":"2026-01-27T01:06:53.185Z","avatar_url":"https://github.com/foliant-docs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker\n\nDocker is a project that helps develop, update and publish Docker images for Foliant.\n\n## Overview\n\nThere are four Docker images to build different versions of Foliant.\nThis repo contains Dockerfiles to build each Docker image.\nAlso, each Dockerfile has its own build-and-publish script to publish images\nto [Github Container registry](https://github.com/foliant-docs/docker/pkgs/container/foliant%2Ffoliant).\n\n* `foliant/foliant:slim` — minimal image of Foliant core with no extensions.\n  * [Dockerfile-slim](https://github.com/foliant-docs/docker/blob/master/Dockerfile-slim)\n  * [build_slim.sh](https://github.com/foliant-docs/docker/blob/master/build_slim.sh)\n\n* `foliant/foliant` — the default image with Foliant core and the foliantcontrib.init extension\n  * [Dockerfile](https://github.com/foliant-docs/docker/blob/master/Dockerfile)\n  * [build_latest.sh](https://github.com/foliant-docs/docker/blob/master/build_latest.sh)\n* `foliant/foliant:pandoc` — the image with foliantcontrib.pandoc and its dependencies:\nTexLive and Pandoc for building PDF and DOCX\n  * [Dockerfile-pandoc](https://github.com/foliant-docs/docker/blob/master/Dockerfile-pandoc)\n  * [build_pandoc.sh](https://github.com/foliant-docs/docker/blob/master/build_pandoc.sh)\n* `foliant/foliant:full` — the full image with all official Foliant extensions and third-party tools required for them to work\n  * [Dockerfile-full](https://github.com/foliant-docs/docker/blob/master/Dockerfile-full)\n  * [build_full.sh](https://github.com/foliant-docs/docker/blob/master/build_full.sh)\n\n* [Makefile](https://github.com/foliant-docs/docker/blob/master/Makefile) needed to build Docker images on local computer\n\n## Docker images dependencies\n\nDocker images build with Dockerfiles based on a previous light version in the following order:\n\u003e Dockerfile-slim → Dockerfile → Dockerfile-pandoc → Dockerfile-full\n\nIt means that if you update `foliant/foliant:slim`, you should update all its dependants after:\n`foliant/foliant` then `foliant/foliant:pandoc` then `foliant/foliant:full`. If you want to update `foliant/foliant`,\nyou should update `foliant/foliant:pandoc` then `foliant/foliant:full` etc.\n\n### Which image to update?\n\n* When [Foliant-core](https://github.com/foliant-docs/foliant) updates:\n   \u003e update `foliant/foliant:slim` → `foliant/foliant` → `foliant/foliant:pandoc` → `foliant/foliant:full`\n\n* When [foliantcontrib.init](https://github.com/foliant-docs/foliantcontrib.init) updates:\n   \u003e update `foliant/foliant` → `foliant/foliant:pandoc` → `foliant/foliant:full`\n\n* When [foliantcontrib.pandoc](https://github.com/foliant-docs/foliantcontrib.pandoc) updates:\n   \u003e update `foliant/foliant:pandoc` → `foliant/foliant:full`\n\n* When any other Foliant extension updates:\n   \u003e update `foliant/foliant:full` and [requirements.txt](https://github.com/foliant-docs/docker/blob/master/dependency_files/python_packages/requirements.txt)\n   \u003e from `dependency_files/python_packages/requirements.txt`\n\n## Update procedure\n\nTo update Docker-image on Github Container registry, you should:\n\n1. Clone, pull or download this repo on your computer.\n2. Update dependencies if needed.\n3. Push changes to this repo.\n4. Run a script which related to Docker-image you needed:\n\n```bash\n# In the project directory\n\n./build_slim.sh    # for foliant/foliant:slim\n./build_latest.sh  # for foliant/foliant\n./build_pandoc.sh  # for foliant/foliant:pandoc\n./build_full.sh    # for foliant/foliant:full\n```\n\n### How to tag image (optional)\n\nScripts set tag for published image automatically. But you can tag the image manually as a script parameter:\n\n```bash\n./build_full.sh 1.0.13\n```\n\n### Docker Hub authorization\n\nTo push images to the [Foliant Github Container registry](https://github.com/foliant-docs/docker/pkgs/container/foliant%2Ffoliant),\nyou need a personal access token with [appropriate rights](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-with-a-personal-access-token-classic).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoliant-docs%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoliant-docs%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoliant-docs%2Fdocker/lists"}