{"id":22426231,"url":"https://github.com/baroxx/payara-micro-template","last_synced_at":"2025-07-25T20:39:14.612Z","repository":{"id":54386913,"uuid":"321075939","full_name":"baroxx/payara-micro-template","owner":"baroxx","description":"This project provides a multi staged Dockerfile for projects with payara micro. ","archived":false,"fork":false,"pushed_at":"2024-10-07T18:15:02.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T06:17:32.839Z","etag":null,"topics":["docker","dockerfile","payara-micro","podman"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/baroxx.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":"2020-12-13T13:50:05.000Z","updated_at":"2024-10-07T18:15:06.000Z","dependencies_parsed_at":"2025-02-01T11:25:38.936Z","dependency_job_id":"50de88ea-911b-448b-9f1a-af4c1810c676","html_url":"https://github.com/baroxx/payara-micro-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baroxx/payara-micro-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Fpayara-micro-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Fpayara-micro-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Fpayara-micro-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Fpayara-micro-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baroxx","download_url":"https://codeload.github.com/baroxx/payara-micro-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baroxx%2Fpayara-micro-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267058242,"owners_count":24028986,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","dockerfile","payara-micro","podman"],"created_at":"2024-12-05T19:17:04.652Z","updated_at":"2025-07-25T20:39:14.554Z","avatar_url":"https://github.com/baroxx.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerfile Template for Payara Micro\n\nThis template provides a Dockerfile for Payara Micro. You can generate a compatible project with this [generator](https://start.microprofile.io/):\n\n1. Fill the form\n1. Select Payara Micro as the MicroProfile Runtime\n1. Start the download\n1. Unzip the project files\n\nThe zip contains two services (service-a and service-b). service-a contains the example implementations for the selected specifications. service-b contains the example code to send requests to service-a.\n  \n# Dockerfile\n\nThe Dockerfile conforms the best practices of this blog entry from docker.com: [Intro Guide to Dockerfile Best Practices](https://www.docker.com/blog/intro-guide-to-dockerfile-best-practices/)\n\n## Usage\n\n1. Copy the Dockerfile to the root of your service\n1. Replace 'service' with your service name (COPY and ENTRYPOINT in the second stage)\n1. Build the image and choose a tag `podman build --tag=service .`\n\n`podman run --name service-name -p 8080:8080 -d localhost/service`\n\nThe application is accessible under [localhost:8080](http://localhost:8080/)\n\n*You can use Docker instead. Just replace podman with docker.*\n\n## Structure\n\nThe Dockerfile is composed of two stages which create respectively an image:\n\n**First stage (build):**\n- Based on [maven](https://hub.docker.com/_/maven)\n- Builds the Jar file\n\n**Second stage (runtime):**\n- Based on [openjdk11](https://hub.docker.com/r/adoptopenjdk/openjdk11/)\n- Copies the jar file from the first stage\n- Provides the endpoint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaroxx%2Fpayara-micro-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaroxx%2Fpayara-micro-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaroxx%2Fpayara-micro-template/lists"}