ShrinkWrap Descriptors Docker 1.0.0-alpha-2 Released
The Arquillian team is proud to announce the 1.0.0-alpha-2 release of the ShrinkWrap Descriptors Docker component!
Usage improvements
With 1.0.0-alpha-2 we have improved the method chaining so you can write the Dockerfile
in a slightly more compact syntax with the help of a few new top level shortcuts:
DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
.from("jbossforge")
.user("George");
descriptor.exportAsString();
The syntax from 1.0.0-alpha-1 is still valid:
DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
.from().name("jbossforge").up()
.user().name("George").up();
descriptor.exportAsString();
And they both produce the same output:
FROM jbossforge
USER George
What is ShrinkWrap Descriptors Docker?
The Shrinkwrap Descriptor project provides an uniformed fluent API for creating and modifying Java EE deployment descriptors on the fly. Starting from the very early JEE 1.3 to the brand new Java EE 7 version, the descriptor project includes almost all official deployment descriptors. Several vendor specific deployment descriptors, mostly JBoss related, are covered as well.
Release details
Component | ShrinkWrap Descriptors Docker |
---|---|
Version | 1.0.0-alpha-2 view tag |
Release date | 2015-02-05 |
Released by | George Gastaldi |
Compiled against |
Published artifacts org.jboss.shrinkwrap.descriptors
- org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-docker jar javadoc pom
- org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-docker jar javadoc pom
Thanks to the following list of contributors: George Gastaldi