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 BF361200AE1 for ; Mon, 6 Jun 2016 23:58:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BDFB4160A24; Mon, 6 Jun 2016 21:58:10 +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 0D3A7160A55 for ; Mon, 6 Jun 2016 23:58:09 +0200 (CEST) Received: (qmail 15187 invoked by uid 500); 6 Jun 2016 21:58:09 -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 15043 invoked by uid 99); 6 Jun 2016 21:58:09 -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; Mon, 06 Jun 2016 21:58:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BD685E0995; Mon, 6 Jun 2016 21:58:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Date: Mon, 06 Jun 2016 21:58:10 -0000 Message-Id: In-Reply-To: <779d8d63a76740868917a23128ab5b37@git.apache.org> References: <779d8d63a76740868917a23128ab5b37@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] cxf git commit: Add docker plugin to experiment with creating a spring-boot docker image for the example archived-at: Mon, 06 Jun 2016 21:58:10 -0000 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/4533e004 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4533e004 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4533e004 Branch: refs/heads/3.1.x-fixes Commit: 4533e0040e82de9f11ab68036dceda9b67b8c2f8 Parents: 8961873 Author: Daniel Kulp Authored: Mon Jun 6 15:10:43 2016 -0400 Committer: Sergey Beryozkin Committed: Mon Jun 6 22:57:21 2016 +0100 ---------------------------------------------------------------------- .../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/4533e004/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/4533e004/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 aa38d11..b5e92bc 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 + + + +