{"id":15971795,"url":"https://github.com/tiulpin/dokker","last_synced_at":"2026-01-19T22:31:51.773Z","repository":{"id":45253663,"uuid":"430329957","full_name":"tiulpin/dokker","owner":"tiulpin","description":"🗂 Yet Another One Way to Handle Your Dockerfiles with Kotlin","archived":false,"fork":false,"pushed_at":"2022-04-05T22:08:10.000Z","size":370,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T03:46:13.830Z","etag":null,"topics":["docker","docker-templates","dockerfile","kotlin-library"],"latest_commit_sha":null,"homepage":"https://tiulpin.github.io/dokker/dokker/[root]/-dokker/index.html","language":"Kotlin","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/tiulpin.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}},"created_at":"2021-11-21T10:03:32.000Z","updated_at":"2022-08-24T17:20:18.000Z","dependencies_parsed_at":"2022-09-19T09:50:44.828Z","dependency_job_id":null,"html_url":"https://github.com/tiulpin/dokker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"tiulpin/kotlin-jvm-library-template","purl":"pkg:github/tiulpin/dokker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiulpin%2Fdokker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiulpin%2Fdokker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiulpin%2Fdokker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiulpin%2Fdokker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiulpin","download_url":"https://codeload.github.com/tiulpin/dokker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiulpin%2Fdokker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28587241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"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-templates","dockerfile","kotlin-library"],"created_at":"2024-10-07T20:40:38.311Z","updated_at":"2026-01-19T22:31:51.756Z","avatar_url":"https://github.com/tiulpin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐳 Dokker\n\nThe Kotlin DSL to generate your project Dockerfiles with Kotlin.\n\n## Example\n\nThe library is created with one purpose: allow easy generation of multiple Dockerfiles with Kotlin.\nCheck out the example below:\n```kotlin\nval aptPackages = listOf(\n    \"build-essential\",\n    \"python3\",\n    \"python3-pip\"\n)\nval environment = mapOf(\n    \"PYTHON_VERSION\" to \"3.9.6\"\n)\nval ignores = listOf(\n    \".venv\"\n)\nval resources = listOf(\n    \"examples/.python_version\"\n)\nval project = dokker(resources = resources, ignores = ignores) {\n    from(\"ubuntu\")\n    arg(\"platform\")\n    label(\n        mapOf(\n            \"maintainer\" to \"viktor@tiulp.in\"\n        )\n    )\n    user(\"root\")\n    env(environment)\n    kopy(listOf(\".python_version\"), \"/tmp\")\n    run(\n        listOf(\n            aptInstall(aptPackages),\n            \"echo ${envBraces(\"PYTHON_VERSION\")}\"\n        )\n    )\n    expose(8080)\n    workdir(\"/\")\n    entrypoint(\"python3\")\n    comment(\"We did it!\")\n}\nproject.save(\"python-example\")\n```\nWith the above code, you can generate a project [like this](./example). \n\n## Contribution\n\nFeel free to extend the Dokker with anything you want : create an issue or send a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiulpin%2Fdokker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiulpin%2Fdokker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiulpin%2Fdokker/lists"}