{"id":2614,"date":"2014-06-11T10:20:22","date_gmt":"2014-06-11T01:20:22","guid":{"rendered":"http:\/\/aatljapan.wpengine.com\/?p=2614"},"modified":"2014-06-11T10:21:11","modified_gmt":"2014-06-11T01:21:11","slug":"docker-automated-builds-bitbucket","status":"publish","type":"post","link":"https:\/\/www.atlassian.com\/ja\/blog\/docker-automated-builds-bitbucket","title":{"rendered":"Bitbucket \u306b\u304a\u3051\u308b Docker \u81ea\u52d5\u30d3\u30eb\u30c9\u3092\u767a\u8868"},"content":{"rendered":"<div class=\"postcontent\">\n<p>\u79c1\u306e\u30d6\u30ed\u30b0\u3092\u983b\u7e41\u306b\u8aad\u3093\u3067\u304f\u3060\u3055\u3063\u3066\u308b\u7686\u3055\u3093\u306f\u3001\u79c1\u304c\u3069\u308c\u3060\u3051 Docker \u306b\u5922\u4e2d\u304b\u3054\u5b58\u77e5\u3067\u3059\u3088\u306d\u3002\u305d\u308c\u304b\u3089 Git \u306b\u3082\u3002\u4eca\u65e5\u306f\u3001\u305d\u3093\u306a\u79c1\u306e\u8208\u596e\u304c\u4f1d\u308f\u308b\u3088\u3046\u306a\u304a\u77e5\u3089\u305b\u304c\u3042\u308a\u307e\u3059\u3002Docker \u306e\u81ea\u52d5\u30d3\u30eb\u30c9\u304c Bitbucket \u306b\u7d71\u5408\u3055\u308c\u307e\u3057\u305f!<\/p>\n<p><a href=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/dockerselectrepo.png\" rel=\"lightbox[28936]\" title=\"Announcing Docker Automated Builds on Bitbucket\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-28938\" style=\"border: 1px solid #cee1f2; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-top: 0px; margin-bottom: 0px;\" src=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/dockerselectrepo-600x275.png\" alt=\"dockerselectrepo\" width=\"600\" height=\"275\" \/><\/a><\/p>\n<h2>Docker \u3068\u306f\u4f55\u304b?<\/h2>\n<p>\u5358\u7d14\u306b\u8a00\u3048\u3070\u3001Docker \u306f\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3068\u30c7\u30d7\u30ed\u30a4\u306e\u81ea\u52d5\u5316\u5206\u91ce\u306b\u304a\u3051\u308b\u6b21\u306e\u5927\u7269\u3067\u3059\u3002Docker \u3067\u306f\u3001OS\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u74b0\u5883\u5909\u6570\u3001start\/stop \u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u3042\u3089\u3086\u308b\u3082\u306e\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u305d\u306e\u5b9a\u7fa9\u3092\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3067\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u518d\u5229\u7528\u3001\u66f4\u65b0\u3001\u5171\u6709\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<p>Docker \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u74b0\u5883\u3092\u4fee\u5fa9\u3059\u308b\u3088\u308a\u3082\u697d\u306b (\u5b89\u304f\u3068\u3044\u3046\u610f\u5473\u3067) \u4f5c\u308a\u76f4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u307e\u3067\u3067\u3059\u3067\u306b\u958b\u767a\u8005\u306e\u7686\u3055\u3093\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30ef\u30fc\u30af\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3059\u308b\u3053\u306e\u610f\u5473\u5408\u3044\u304c\u5206\u304b\u3063\u305f\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u901a\u308a\u3067\u3059\u30021 \u3064\u306e Dockerfile \u3067\u3001\u5404 CI \u5b9f\u884c\u7528\u306e\u65b0\u898f\u74b0\u5883\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002\n<\/p>\n<h2>Dockerfile \u306b\u3059\u3079\u3066\u304c\u3042\u308b<\/h2>\n<p>Chef \u306e\u30ec\u30b7\u30d4\u3084 Puppet \u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u3088\u3046\u306b\u3001Dockerfile \u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u671b\u3093\u3060\u72b6\u614b\u306b\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u5404\u624b\u9806\u3092\u8a18\u8ff0\u3059\u308b\u5834\u3067\u3059\u3002\u30d9\u30a2\u30e1\u30bf\u30eb\u304b\u3089\u3067\u3082\u3001\u89aa Dockerfile \u304c\u4e2d\u65ad\u3057\u305f\u6bb5\u968e\u304b\u3089\u3067\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\"FROM ubuntu:14.04\" \u3067\u59cb\u307e\u308b Dockerfile \u3067\u306f\u3001\u5b9f\u884c\u6642\u306b Docker \u306b\u3088\u308a ubuntu:14.04 Dockerfile \u5168\u4f53\u304c\u307e\u305a\u521d\u3081\u306b\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30a4\u30f3\u30d8\u30ea\u30bf\u30f3\u30b9\u306e\u70b9\u3067\u6700\u9ad8\u3067\u3059!<\/p>\n<p>Dockerfile \u306e\u7d20\u6674\u3089\u3057\u3044\u70b9\u306f (\u30a4\u30f3\u30d8\u30ea\u30bf\u30f3\u30b9\u4ee5\u5916\u3067)\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u4e0b\u3067\u683c\u7d0d\u3067\u304d\u308b\u3053\u3068\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u5c65\u6b74\u3001\u30b3\u30e1\u30f3\u30c8\u3001\u30d6\u30e9\u30f3\u30c1\u306e\u6069\u6075\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30d7\u30ed\u30a4\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806\u3092\u30e9\u30f3\u30d6\u30c3\u30af\u306b\u4fdd\u5b58\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u307e\u305f\u306f\u3001\u30e2\u30cb\u30bf\u30fc\u5468\u56f2\u306b\u4ed8\u7b8b\u3092\u8cbc\u308a\u307e\u304f\u308b\u3068\u3044\u3046\u73fe\u5b9f\u306e\u4ee3\u308f\u308a\u306b\u3001\u5358\u7d14\u306a\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3067\u304d\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3069\u3053\u304b\u3089\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u3082\u3061\u308d\u3093\u3001\u5171\u6709\u3067\u304d\u308b\u306e\u3067\u3001\u958b\u767a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u30e1\u30f3\u30d0\u30fc\u304c\u307e\u305f\u4e00\u304b\u3089\u3084\u308a\u76f4\u3059\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>\u3067\u306f\u3001\u672c\u984c\u306e\u81ea\u52d5\u30d3\u30eb\u30c9\u306b\u3064\u3044\u3066\u2026<\/h2>\n<p>Docker \u304c\u767b\u5834\u3057\u3066\u3059\u3050\u3001Docker \u3092\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30ea\u30f3\u30af\u3059\u308b\u7c21\u5358\u306a\u624b\u6bb5\u3068\u3057\u3066\u81ea\u52d5\u30d3\u30eb\u30c9\u304c\u767a\u8868\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c1\u30fc\u30e0\u3068\u958b\u767a\u8005\u306f\u3001<a href=\"http:\/\/www.atlassian.com\/ja\/software\/bamboo\/overview\">Bamboo<\/a> \u3084\u305d\u306e\u4ed6\u306e\u81ea\u52d5\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u5909\u66f4\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3055\u308c\u308b\u5ea6\u306b Dockerfiles \u3067\u81ea\u52d5\u5b9a\u7fa9\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30ca\u3092\u30d3\u30eb\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/build-details.png\" rel=\"lightbox[28936]\" title=\"Announcing Docker Automated Builds on Bitbucket\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-28942\" style=\"border: 1px solid #cee1f2; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-top: 0px; margin-bottom: 0px;\" src=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/build-details-600x428.png\" alt=\"build-details\" width=\"600\" height=\"428\" \/><\/a><\/p>\n<p>\u307e\u305f\u3001\u81ea\u52d5\u30d3\u30eb\u30c9\u3067\u306f\u3001Dockerfile \u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3060\u3051\u3067\u306a\u304f\u3001Dockerfile \u3067\u53c2\u7167\u3055\u308c\u308b\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e\u4e2d\u9593\u751f\u6210\u7269 (\u30b9\u30af\u30ea\u30d7\u30c8\u7b49) \u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u3067\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b\u4eba\u3005\u304c\u305d\u306e\u5185\u5bb9\u3092\u660e\u78ba\u306b\u628a\u63e1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/repo-integration.png\" rel=\"lightbox[28936]\" title=\"Announcing Docker Automated Builds on Bitbucket\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-28941\" style=\"border: 1px solid #cee1f2; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-top: 0px; margin-bottom: 0px;\" src=\"http:\/\/atlassian.wpengine.netdna-cdn.com\/wp-content\/uploads\/repo-integration-600x268.png\" alt=\"repo-integration\" width=\"600\" height=\"268\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blogs.atlassian.com\/2013\/11\/docker-all-the-things-at-atlassian-automation-and-wiring\/\">\u524d\u56de\u3001Docker \u306e\u8aac\u660e<\/a>\u306e\u4e00\u90e8\u3068\u3057\u3066\u3001<a href=\"http:\/\/www.atlassian.com\/ja\/software\/jira\/overview\">JIRA<\/a> \u3068 <a href=\"http:\/\/www.atlassian.com\/ja\/software\/stash\/overview\">Stash<\/a> \u3092\u4e00\u7dd2\u306b\u9023\u7d50\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u305d\u308c\u306b\u5bfe\u5fdc\u3057\u305f\u81ea\u52d5\u30d3\u30eb\u30c9\u30b3\u30f3\u30c6\u30ca\u3092\u7d39\u4ecb\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059! <a href=\"https:\/\/index.docker.io\/u\/durdn\/\">\u79c1\u306e Docker \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002JIRA\u3001Stash\u3001Crowd\u3001\u3055\u3089\u306b\u3001<a href=\"https:\/\/bitbucket.org\/atlassianlabs\/atlassian-docker\"> Bitbucket \u3067\u5bfe\u5fdc\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3082\u3042\u308a\u307e\u3059\u3002\u73fe\u6642\u70b9\u3067\u306f\u3001\u3059\u3079\u3066\u5b9f\u9a13\u6bb5\u968e\u3067\u3042\u308b\u3053\u3068\u306b\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\u79c1\u305f\u3061\u304c\u30a2\u30c8\u30e9\u30b7\u30a2\u30f3\u30c4\u30fc\u30eb\u7528\u306e\u516c\u5f0f\u81ea\u52d5\u30d3\u30eb\u30c9\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u308b\u9593\u3001\u3044\u308d\u3044\u308d\u8a66\u305b\u308b\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Docker Hub \u3067\u30a2\u30c8\u30e9\u30b7\u30a2\u30f3\u3092\u898b\u3064\u3051\u3066\u304f\u3060\u3055\u3044<\/h2>\n<p>\u30a2\u30c8\u30e9\u30b7\u30a2\u30f3\u30c4\u30fc\u30eb\u7528\u306e\u516c\u5f0f\u81ea\u52d5\u30d3\u30eb\u30c9\u30b3\u30f3\u30c6\u30ca\u304c\u3042\u308b\u306e\u306f\u3069\u3053\u304b? \u3088\u304f\u305e\u5c0b\u306d\u3066\u304f\u308c\u307e\u3057\u305f\u3002\n<\/p>\n<p>Docker \u306f\u3001 \u30e6\u30fc\u30b6\u30fc\u304c\u3001\u516c\u958b\u30fb\u975e\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30b3\u30f3\u30c6\u30ca\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5171\u6709\u30fb\u7ba1\u7406\u3067\u304d\u308b\u5834\u3068\u3057\u3066 Docker Hub \u3092\u767a\u8868\u3057\u305f\u3070\u304b\u308a\u3067\u3059\u3002Docker Hub \u30ec\u30b8\u30b9\u30c8\u30ea\u3067\u306f\u3059\u3067\u306b\u300114,000 \u4ef6\u4ee5\u4e0a\u306e\u300cDocker \u5316\u6e08\u307f\u300d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u5354\u529b\u3057\u3066\u3082\u3089\u3046\u305f\u3081\u306b\u3001\u4ed6\u306e\u4eba\u3005\u3092\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u62db\u5f85\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8fd1\u65e5\u4e2d\u306b\u30a2\u30c8\u30e9\u30b7\u30a2\u30f3\u30c4\u30fc\u30eb\u3082 Docker Hub \u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u898b\u3064\u3051\u3066\u304f\u3060\u3055\u3044!<\/p>\n<p>&nbsp;<\/p>\n<\/p><\/div>\n<p><!--\/postcontent--><\/p>\n<p><small><br \/>\n*\u672c\u30d6\u30ed\u30b0\u306f Atlassian Blogs \u306e\u7ffb\u8a33\u3067\u3059\u3002\u672c\u6587\u4e2d\u306e\u65e5\u6642\u306a\u3069\u306f\u6295\u7a3f\u5f53\u6642\u306e\u3082\u306e\u3067\u3059\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<br \/>\n*\u539f\u6587 : 2014 \u5e74 6 \u6708 9 \u65e5 \"<a href=\"http:\/\/blogs.atlassian.com\/2014\/06\/docker-automated-builds-bitbucket\/\" target=\"_blank\">Announcing Docker Automated Builds on Bitbucket<\/a>\"<br \/>\n<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u79c1\u306e\u30d6\u30ed\u30b0\u3092\u983b\u7e41\u306b\u8aad\u3093\u3067\u304f\u3060\u3055\u3063\u3066\u308b\u7686\u3055\u3093\u306f\u3001\u79c1\u304c\u3069\u308c\u3060\u3051 Docker \u306b\u5922\u4e2d\u304b\u3054\u5b58\u77e5\u3067\u3059\u3088\u306d\u3002\u305d\u308c\u304b\u3089 Git \u306b\u3082\u3002\u4eca\u65e5\u306f\u3001\u305d\u3093\u306a\u79c1\u306e\u8208\u596e\u304c\u4f1d\u308f\u308b\u3088\u3046\u306a\u304a\u77e5\u3089\u305b\u304c\u3042\u308a\u307e\u3059\u3002D&hellip;<\/p>\n","protected":false},"author":275,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"bitbucket_subtitle":"","footnotes":""},"categories":[1],"tags":[401,554,402,349,403,404],"coauthors":[],"class_list":["post-2614","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-automated-builds","tag-bitbucket","tag-deployment-automation","tag-docker","tag-docker-hub","tag-dockerfile"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/2614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/users\/275"}],"replies":[{"embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=2614"}],"version-history":[{"count":0,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/2614\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=2614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=2614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=2614"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/coauthors?post=2614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}