{"id":20198831,"url":"https://github.com/eclipsesource/dockerizor","last_synced_at":"2025-04-10T11:08:09.316Z","repository":{"id":20852921,"uuid":"24139560","full_name":"eclipsesource/dockerizor","owner":"eclipsesource","description":"Gradle plug-in to create a Docker image that includes an Eclipse Virgo container","archived":false,"fork":false,"pushed_at":"2018-05-06T08:29:43.000Z","size":333,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-04-14T22:29:11.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipsesource.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":"2014-09-17T10:06:08.000Z","updated_at":"2017-11-16T11:29:03.000Z","dependencies_parsed_at":"2022-09-13T19:50:55.381Z","dependency_job_id":null,"html_url":"https://github.com/eclipsesource/dockerizor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fdockerizor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fdockerizor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fdockerizor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Fdockerizor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/dockerizor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224567985,"owners_count":17332832,"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":[],"created_at":"2024-11-14T04:34:21.308Z","updated_at":"2024-11-14T04:34:21.959Z","avatar_url":"https://github.com/eclipsesource.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/eclipsesource/dockerizor.svg)](https://travis-ci.org/eclipsesource/dockerizor)\n\ndockerizor\n==========\n\n[Gradle][gradle] plug-in to create a Docker image that includes an [Eclipse Virgo][Virgo] container.\n\nDuring our preparations for the EclipseCon talk about our first Docker project, we spent quite some time\npackaging Virgo containers inside Docker images.\n\nWe investigated how to improve the continuous delivery of Virgo powered applications using Gradle and Docker. The outcome is the Gradle Plugin ''dockerizor''.\n\nIn a first step we automated the generation of basic Virgo images.\n\n### Using the Gradle Plugin\n\nThe following build snippet applies the [Gradle Plugin Dockerizor][dockerizor] to your build script:\n\n```\nbuildscript {\n  repositories {\n    maven {\n      url \"https://plugins.gradle.org/m2/\"\n    }\n  }\n  dependencies {\n    classpath \"gradle.plugin.com.eclipsesource.dockerizor:dockerizor:0.8.3\"\n  }\n}\n\napply plugin: \"com.eclipsesource.dockerizor\"\n```\n\n### Building basic Virgo images\n\nBoth the Docker...\n\n```groovy\ndockerizor {\n  maintainer = 'Florian Waibel \u003cfwaibel@eclipsesource.com\u003e'\n  description = 'Docker image build with dockerizor'\n\n  // docker client configuration\n  uri = \"http://localhost:4243\"\n  tag = \"latest\"\n\n  javaImage = 'java:8u92-jre-alpine'\n}\n```\n\n...and Virgo specific configuration is done within the ```dockerizor``` block.\n\n```groovy\ndockerizor {\n  virgoFlavour = 'VJS'\n  removeAdminConsole = true\n  removeSplash = true\n\n  imageName = 'virgo-jetty-server'\n}\n```\n\nThe snippet above creates a Docker image named 'virgo-jetty-server' with the Virgo flavor VJS (Virgo Jetty Server).\n\n```sh\n$ docker images | grep virgo-jetty-server\neclipsesource/virgo-jetty-server   3.7.1.RELEASE       f8bbcc226483        About a minute ago       161 MB\n```\n\nThe generated basic images for Virgo are available via [Docker Hub][dockerhub]:\n\n * Virgo Server for Apache Tomcat: https://registry.hub.docker.com/u/eclipsesource/virgo-tomcat-server/\n * Virgo Jetty Server: https://registry.hub.docker.com/u/eclipsesource/virgo-jetty-server/\n * Virgo RAP Server: https://registry.hub.docker.com/u/eclipsesource/virgo-rap-server/\n\n[Virgo]: http://www.eclipse.org/virgo/ \"Virgo\"\n[dockerhub]: https://hub.docker.com/ \"Docker Hub\"\n[gradle]: http://gradle.org/ \"Gradle\"\n[dockerizor]: https://plugins.gradle.org/plugin/com.eclipsesource.dockerizor \"Gradle Plugin Dockerizor\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fdockerizor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Fdockerizor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Fdockerizor/lists"}