Skip to content

Instantly share code, notes, and snippets.

@emag
Last active December 4, 2016 09:27
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save emag/fc8ba21155f588ee35eb204a0a3a6882 to your computer and use it in GitHub Desktop.
Save emag/fc8ba21155f588ee35eb204a0a3a6882 to your computer and use it in GitHub Desktop.
WildFly Swarm ハンズオン事前準備

WildFly Swarm ハンズオン事前準備

本ハンズオンはご自身の PC を持ち込んで実施いただく必要があります。 また、以下の事前準備を実施ください。

ご不明点は下記 筆者 Twitter までご連絡いただければと思います。

インストールするもの

事前に以下のものを PC にインストールしてください。

ライブラリのインストールおよび Docker イメージの pull

WildFly Swarm は非常に多くのライブラリからなるため、 ハンズオン中には最低限のダウンロードで済むよう、事前に一通りウォームアップしていただければと思います。 また、同様に Docker イメージの pull も実施ください。

以下を実施いただくと、一通り必要な資材がダウンロードされます。

まず、適当なディレクトリにハンズオン用の資料をダウンロードします。

curl -sL https://github.com/emag/wildfly-swarm-tour/archive/2016.11.0.zip -o /path/to/wildfly-swarm-tour.zip

適当なディレクトリに展開後、docker ディレクトリに移動します。

cd /path/to/wildfly-swarm-tour-2016.11.0/code/docker

必要なライブラリのインストール及び、Docker イメージの一部を pull します(その1)。

./mvnw clean package && docker build -t test/lifelog . && docker rmi -f test/lifelog

必要なライブラリのインストール及び、Docker イメージの一部を pull します(その2)。

./mvnw clean verify \
  -Dswarm.project.stage.file=file://`pwd`/lifelog-project-stages.yml \
  -Dswarm.project.stage=it \
  -Dauth.url=http://localhost:28080/auth \
  -Pit

余裕があれば...

当日利用する資料を少し眺めていただければと思います。

https://emag.gitbooks.io/wildfly-swarm-tour/content/

@azkaoru
Copy link

azkaoru commented Dec 2, 2016

docker build contextが指定されていないと思います。

https://gist.github.com/azkaoru/f704be2884b684e55be13b7912fd2437/revisions

@emag
Copy link
Author

emag commented Dec 3, 2016

@azkaoru おお、ありがとうございます。なぜか前のリビジョンで消してしまっていた。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment