Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0DE80200B43 for ; Wed, 8 Jun 2016 03:48:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0BF1A160A36; Wed, 8 Jun 2016 01:48:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5D7B3160A5A for ; Wed, 8 Jun 2016 03:48:12 +0200 (CEST) Received: (qmail 77660 invoked by uid 500); 8 Jun 2016 01:48:11 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 77479 invoked by uid 99); 8 Jun 2016 01:48:11 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 01:48:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 16FCAE07F4; Wed, 8 Jun 2016 01:48:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: reta@apache.org To: commits@cxf.apache.org Date: Wed, 08 Jun 2016 01:48:11 -0000 Message-Id: <73e307df32314c5ea2ef8bd3c658c23c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [01/22] cxf git commit: Add docker plugin to experiment with creating a spring-boot docker image for the example [Forced Update!] archived-at: Wed, 08 Jun 2016 01:48:13 -0000 Repository: cxf Updated Branches: refs/heads/master-jaxrs-2.1 375c541b8 -> 0bf3beb12 (forced update) Add docker plugin to experiment with creating a spring-boot docker image for the example Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/540033d2 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/540033d2 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/540033d2 Branch: refs/heads/master-jaxrs-2.1 Commit: 540033d24dee4d02ec5ed8fc2b47faa28b4231e8 Parents: e0742cf Author: Daniel Kulp Authored: Mon Jun 6 15:10:43 2016 -0400 Committer: Daniel Kulp Committed: Mon Jun 6 15:12:54 2016 -0400 ---------------------------------------------------------------------- .../release/samples/jaxws_spring_boot/README | 15 +++++++++++++++ .../release/samples/jaxws_spring_boot/pom.xml | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/540033d2/distribution/src/main/release/samples/jaxws_spring_boot/README ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/README b/distribution/src/main/release/samples/jaxws_spring_boot/README index 62b3a1a..1217e41 100644 --- a/distribution/src/main/release/samples/jaxws_spring_boot/README +++ b/distribution/src/main/release/samples/jaxws_spring_boot/README @@ -17,3 +17,18 @@ to run the client run in a new terminal window: $ mvn exec:java ---- + + +Using Docker: +If you have Docker running on your machine (and appropriate DOCKER_HOST set), +you can run + +---- +$ mvn docker:build +---- + +to create the Docker image. Once created, you can start the container via: + +---- +docker run -p 8080:8080 -t org.apache.cxf.samples/spring-boot-sample-ws-cxf +---- http://git-wip-us.apache.org/repos/asf/cxf/blob/540033d2/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml index 57e4210..cbc02fb 100644 --- a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml +++ b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml @@ -7,6 +7,8 @@ 1.3.5.RELEASE spring-boot-sample-ws-cxf + org.apache.cxf.samples + 3.2.0-SNAPSHOT Spring Boot CXF Web Services Sample Spring Boot CXF Web Services Sample @@ -47,6 +49,24 @@ sample.ws.service.client.HelloClient + + + com.spotify + docker-maven-plugin + 0.4.9 + + ${project.groupId}/${project.artifactId} + frolvlad/alpine-oraclejdk8:slim + java -Djava.security.egd=file:/dev/./urandom -jar ${project.build.finalName}.jar + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + +