Skip to content

shrinkwrap/descriptors-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

descriptors-docker

A ShrinkWrap Descriptors implementation for Dockerfiles

DockerDescriptor descriptor =
  Descriptors.create(DockerDescriptor.class)
    .from("jbossforge")
    .user("George");

System.out.println(descriptor.exportAsString());

Yields the following output:

FROM jbossforge
USER George

Installation

Add the following dependencies to your pom.xml:

<!-- Docker Descriptors API -->
<dependency>
  <groupId>org.jboss.shrinkwrap.descriptors</groupId>
  <artifactId>shrinkwrap-descriptors-api-docker</artifactId>
  <version>1.0.0-alpha-2</version>
</dependency>

<!-- Docker Descriptors Implementation -->
<dependency>
  <groupId>org.jboss.shrinkwrap.descriptors</groupId>
  <artifactId>shrinkwrap-descriptors-impl-docker</artifactId>
  <version>1.0.0-alpha-2</version>
  <scope>runtime</scope>
</dependency>

About

A ShrinkWrap Descriptors implementation for Dockerfiles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages