{"id":20018961,"url":"https://github.com/android10/ktor-dockerizer","last_synced_at":"2026-04-12T18:54:32.002Z","repository":{"id":145629070,"uuid":"346139785","full_name":"android10/ktor-dockerizer","owner":"android10","description":"Gradle Plugin that facilitates docker integration when using gradle as a build system. ","archived":false,"fork":false,"pushed_at":"2021-09-26T19:44:09.000Z","size":195,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-13T08:31:06.184Z","etag":null,"topics":["build-system","gradle","java","kotlin","plugin","plugins"],"latest_commit_sha":null,"homepage":"https://fernandocejas.com/","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/android10.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-03-09T20:46:20.000Z","updated_at":"2021-09-26T19:44:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8edb02e0-8b7e-43ce-9ff8-126e69c407cc","html_url":"https://github.com/android10/ktor-dockerizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android10%2Fktor-dockerizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android10%2Fktor-dockerizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android10%2Fktor-dockerizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android10%2Fktor-dockerizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android10","download_url":"https://codeload.github.com/android10/ktor-dockerizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233626901,"owners_count":18704811,"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":["build-system","gradle","java","kotlin","plugin","plugins"],"created_at":"2024-11-13T08:25:14.003Z","updated_at":"2026-04-12T18:54:26.973Z","avatar_url":"https://github.com/android10.png","language":"Kotlin","readme":"# Gradle Ktor Dockerizer\n\nGradle Plugin that facilitates docker integration with [Ktor](https://ktor.io/).\n\n# Usage\n\n - TODO\n - Make sure your current user can run docker without sudo.\n\n# Local Development\n\n## Run Unit Tests\n\n - `./gradlew runUnitTests`            --\u003e Runs all the Plugin Unit Tests.\n\n## Sample Execution\n\nFrom the root folder you can execute:\n\n - `./gradlew clean build`             --\u003e Builds the project.\n - `./gradlew clean test`              --\u003e Runs all tests.\n - `./gradlew runKtor`                 --\u003e Runs Ktor.\n - `./gradlew generateKtorJar`         --\u003e Generates a Jar from the Ktor Project.\n - `./gradlew buildKtorDockerImage`    --\u003e Builds Ktor Sample Docker Image.\n - `./gradlew runKtorDocker`           --\u003e Runs Ktor in a Docker Container.\n - `./gradlew runKtorDockerDetached`   --\u003e Runs Ktor in a Docker Container Detached.\n - `./gradlew stopKtorDockerContainer` --\u003e Stops Docker Container running Ktor.\n\n## Test Manually Ktor Sample\n\nFrom the root folder you can execute:\n\n - `./gradlew buildKtorDockerImage`\n - `./gradlew runKtorDockerDetached`\n - `curl -i -X GET http://localhost:8080`\n\nYou should see:\n\n```\nHTTP/1.1 200 OK\nContent-Length: 12\nContent-Type: text/plain; charset=UTF-8\n\nHello World!\n```\n\n# TODOs\n\n- [ ] Documentation.\n- [ ] Support Docker Compose.\n- [ ] Automate Test Execution.\n- [ ] Automate Publishing.\n\n# License\n\n    Copyright 2021 Fernando Cejas\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n![https://fernandocejas.com](https://github.com/android10/Sample-Data/blob/master/android10/android10_logo_big.png)\n\n\u003ca href=\"https://www.buymeacoffee.com/android10\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n","funding_links":["https://www.buymeacoffee.com/android10"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid10%2Fktor-dockerizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid10%2Fktor-dockerizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid10%2Fktor-dockerizer/lists"}