1 Star 0 Fork 0

Gitee 极速下载 / dockerizor

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/eclipsesource/dockerizor
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Build Status

dockerizor

Gradle plug-in to create a Docker image that includes an Eclipse Virgo container.

During our preparations for the EclipseCon talk about our first Docker project, we spent quite some time packaging Virgo containers inside Docker images.

We investigated how to improve the continuous delivery of Virgo powered applications using Gradle and Docker. The outcome is the Gradle Plugin ''dockerizor''.

In a first step we automated the generation of basic Virgo images.

Using the Gradle Plugin

The following build snippet applies the Gradle Plugin Dockerizor to your build script:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.eclipsesource.dockerizor:dockerizor:0.8.3"
  }
}

apply plugin: "com.eclipsesource.dockerizor"

Building basic Virgo images

Both the Docker...

dockerizor {
  maintainer = 'Florian Waibel <fwaibel@eclipsesource.com>'
  description = 'Docker image build with dockerizor'

  // docker client configuration
  uri = "http://localhost:4243"
  tag = "latest"

  javaImage = 'java:8u92-jre-alpine'
}

...and Virgo specific configuration is done within the dockerizor block.

dockerizor {
  virgoFlavour = 'VJS'
  removeAdminConsole = true
  removeSplash = true

  imageName = 'virgo-jetty-server'
}

The snippet above creates a Docker image named 'virgo-jetty-server' with the Virgo flavor VJS (Virgo Jetty Server).

$ docker images | grep virgo-jetty-server
eclipsesource/virgo-jetty-server   3.7.1.RELEASE       f8bbcc226483        About a minute ago       161 MB

The generated basic images for Virgo are available via Docker Hub:

Comments ( 0 )

Sign in for post a comment

About

Dockerizor 是一个 Gradle 的插件,用来创建 Docker 映像,包含一个 Eclipse Virgo 容器 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Groovy
1
https://gitee.com/mirrors/dockerizor.git
git@gitee.com:mirrors/dockerizor.git
mirrors
dockerizor
dockerizor
master

Search