{"action":"created","comment":{"url":"https://api.github.com/repos/teiid/teiid/pulls/comments/25427494","id":25427494,"diff_hunk":"@@ -10,33 +10,23 @@ FROM jboss/base-jdk:7\n \n MAINTAINER Ramesh Reddy <rareddy@jboss.org>\n \n-\n ENV WORKING_DIR /opt/jboss\n-ENV JBOSS_EAP jboss-eap-6.3\n+ENV JBOSS_EAP teiid-${project.version}\n ENV JBOSS_HOME $WORKING_DIR/$JBOSS_EAP\n \n USER root\n \n-RUN mkdir $WORKING_DIR/temp && cd  $WORKING_DIR/temp\n-\n-ADD jboss-as-dist-${version.org.jboss.as}.zip ${WORKING_DIR}/temp/jboss-eap.zip\n-ADD teiid-console-dist-${version.teiid.console}-jboss-as7.zip ${WORKING_DIR}/temp/console.zip\n-ADD teiid-${project.version}-jboss-dist.zip ${WORKING_DIR}/temp/teiid.zip\n+ADD teiid-${project.version}-server.zip $WORKING_DIR/teiid.zip\n \n-RUN unzip -q -o -d $WORKING_DIR $WORKING_DIR/temp/jboss-eap.zip && \\\n-    cd $JBOSS_HOME && \\\n-    unzip -q -o $WORKING_DIR/temp/teiid.zip && \\\n-    unzip -q -o $WORKING_DIR/temp/console.zip && \\\n-    rm -fdR $WORKING_DIR/temp\n+RUN cd $WORKING_DIR && unzip -q teiid.zip && rm teiid.zip\n \n RUN chown -R jboss:jboss ${JBOSS_HOME}/ #\\\n \n-VOLUME [\"/opt/jboss/$JBOSS_EAP/standalone\", \"/opt/jboss/$JBOSS_EAP/domain\"]\n+VOLUME [\"$JBOSS_HOME/standalone\", \"$JBOSS_HOME/domain\"]\n \n USER jboss\n \n EXPOSE 9990 8080 31000 35432\n \n #Run Teiid Server\n-CMD [\"/bin/sh\", \"-c\", \"/opt/jboss/jboss-eap-6.3/bin/standalone.sh\", \"-c\", \"standalone-teiid.xml\", \"-b\", \"0.0.0.0\", \"-bmanagement\", \"0.0.0.0\"]\n-\n+CMD [\"/bin/sh\", \"-c\", \"$JBOSS_HOME/bin/standalone.sh -c standalone-teiid.xml -b 0.0.0.0 -bmanagement 0.0.0.0\"]","path":"build/kits/docker/Dockerfile","position":38,"original_position":38,"commit_id":"aa1b6c21471d7a02e7e30ccec4289e8f8b0649b2","original_commit_id":"aa1b6c21471d7a02e7e30ccec4289e8f8b0649b2","user":{"login":"Tom9729","id":857047,"avatar_url":"https://avatars.githubusercontent.com/u/857047?v=3","gravatar_id":"","url":"https://api.github.com/users/Tom9729","html_url":"https://github.com/Tom9729","followers_url":"https://api.github.com/users/Tom9729/followers","following_url":"https://api.github.com/users/Tom9729/following{/other_user}","gists_url":"https://api.github.com/users/Tom9729/gists{/gist_id}","starred_url":"https://api.github.com/users/Tom9729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tom9729/subscriptions","organizations_url":"https://api.github.com/users/Tom9729/orgs","repos_url":"https://api.github.com/users/Tom9729/repos","events_url":"https://api.github.com/users/Tom9729/events{/privacy}","received_events_url":"https://api.github.com/users/Tom9729/received_events","type":"User","site_admin":false},"body":"The command you want sh to run must be one argument. Without this change, \"docker run\" would bring up JBoss without changing ports and using the default standalone xml.","created_at":"2015-02-26T13:55:16Z","updated_at":"2015-02-26T13:55:16Z","html_url":"https://github.com/teiid/teiid/pull/414#discussion_r25427494","pull_request_url":"https://api.github.com/repos/teiid/teiid/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/teiid/teiid/pulls/comments/25427494"},"html":{"href":"https://github.com/teiid/teiid/pull/414#discussion_r25427494"},"pull_request":{"href":"https://api.github.com/repos/teiid/teiid/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/teiid/teiid/pulls/414","id":30054831,"html_url":"https://github.com/teiid/teiid/pull/414","diff_url":"https://github.com/teiid/teiid/pull/414.diff","patch_url":"https://github.com/teiid/teiid/pull/414.patch","issue_url":"https://api.github.com/repos/teiid/teiid/issues/414","number":414,"state":"open","locked":false,"title":"TEIID-3121: Changed to package Teiid server as part of Maven build and updated Docker image to use it.","user":{"login":"Tom9729","id":857047,"avatar_url":"https://avatars.githubusercontent.com/u/857047?v=3","gravatar_id":"","url":"https://api.github.com/users/Tom9729","html_url":"https://github.com/Tom9729","followers_url":"https://api.github.com/users/Tom9729/followers","following_url":"https://api.github.com/users/Tom9729/following{/other_user}","gists_url":"https://api.github.com/users/Tom9729/gists{/gist_id}","starred_url":"https://api.github.com/users/Tom9729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tom9729/subscriptions","organizations_url":"https://api.github.com/users/Tom9729/orgs","repos_url":"https://api.github.com/users/Tom9729/repos","events_url":"https://api.github.com/users/Tom9729/events{/privacy}","received_events_url":"https://api.github.com/users/Tom9729/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-26T06:59:59Z","updated_at":"2015-02-26T13:55:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e471f0fc39cc0b29b27872797f96024cb62b96ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teiid/teiid/pulls/414/commits","review_comments_url":"https://api.github.com/repos/teiid/teiid/pulls/414/comments","review_comment_url":"https://api.github.com/repos/teiid/teiid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teiid/teiid/issues/414/comments","statuses_url":"https://api.github.com/repos/teiid/teiid/statuses/aa1b6c21471d7a02e7e30ccec4289e8f8b0649b2","head":{"label":"Tom9729:TEIID-3121","ref":"TEIID-3121","sha":"aa1b6c21471d7a02e7e30ccec4289e8f8b0649b2","user":{"login":"Tom9729","id":857047,"avatar_url":"https://avatars.githubusercontent.com/u/857047?v=3","gravatar_id":"","url":"https://api.github.com/users/Tom9729","html_url":"https://github.com/Tom9729","followers_url":"https://api.github.com/users/Tom9729/followers","following_url":"https://api.github.com/users/Tom9729/following{/other_user}","gists_url":"https://api.github.com/users/Tom9729/gists{/gist_id}","starred_url":"https://api.github.com/users/Tom9729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tom9729/subscriptions","organizations_url":"https://api.github.com/users/Tom9729/orgs","repos_url":"https://api.github.com/users/Tom9729/repos","events_url":"https://api.github.com/users/Tom9729/events{/privacy}","received_events_url":"https://api.github.com/users/Tom9729/received_events","type":"User","site_admin":false},"repo":{"id":26031290,"name":"teiid","full_name":"Tom9729/teiid","owner":{"login":"Tom9729","id":857047,"avatar_url":"https://avatars.githubusercontent.com/u/857047?v=3","gravatar_id":"","url":"https://api.github.com/users/Tom9729","html_url":"https://github.com/Tom9729","followers_url":"https://api.github.com/users/Tom9729/followers","following_url":"https://api.github.com/users/Tom9729/following{/other_user}","gists_url":"https://api.github.com/users/Tom9729/gists{/gist_id}","starred_url":"https://api.github.com/users/Tom9729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tom9729/subscriptions","organizations_url":"https://api.github.com/users/Tom9729/orgs","repos_url":"https://api.github.com/users/Tom9729/repos","events_url":"https://api.github.com/users/Tom9729/events{/privacy}","received_events_url":"https://api.github.com/users/Tom9729/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tom9729/teiid","description":"  Teiid is a data virtualization system that allows applications to use data from multiple, heterogenous data stores.","fork":true,"url":"https://api.github.com/repos/Tom9729/teiid","forks_url":"https://api.github.com/repos/Tom9729/teiid/forks","keys_url":"https://api.github.com/repos/Tom9729/teiid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tom9729/teiid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tom9729/teiid/teams","hooks_url":"https://api.github.com/repos/Tom9729/teiid/hooks","issue_events_url":"https://api.github.com/repos/Tom9729/teiid/issues/events{/number}","events_url":"https://api.github.com/repos/Tom9729/teiid/events","assignees_url":"https://api.github.com/repos/Tom9729/teiid/assignees{/user}","branches_url":"https://api.github.com/repos/Tom9729/teiid/branches{/branch}","tags_url":"https://api.github.com/repos/Tom9729/teiid/tags","blobs_url":"https://api.github.com/repos/Tom9729/teiid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tom9729/teiid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tom9729/teiid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tom9729/teiid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tom9729/teiid/statuses/{sha}","languages_url":"https://api.github.com/repos/Tom9729/teiid/languages","stargazers_url":"https://api.github.com/repos/Tom9729/teiid/stargazers","contributors_url":"https://api.github.com/repos/Tom9729/teiid/contributors","subscribers_url":"https://api.github.com/repos/Tom9729/teiid/subscribers","subscription_url":"https://api.github.com/repos/Tom9729/teiid/subscription","commits_url":"https://api.github.com/repos/Tom9729/teiid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tom9729/teiid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tom9729/teiid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tom9729/teiid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tom9729/teiid/contents/{+path}","compare_url":"https://api.github.com/repos/Tom9729/teiid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tom9729/teiid/merges","archive_url":"https://api.github.com/repos/Tom9729/teiid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tom9729/teiid/downloads","issues_url":"https://api.github.com/repos/Tom9729/teiid/issues{/number}","pulls_url":"https://api.github.com/repos/Tom9729/teiid/pulls{/number}","milestones_url":"https://api.github.com/repos/Tom9729/teiid/milestones{/number}","notifications_url":"https://api.github.com/repos/Tom9729/teiid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tom9729/teiid/labels{/name}","releases_url":"https://api.github.com/repos/Tom9729/teiid/releases{/id}","created_at":"2014-10-31T20:01:20Z","updated_at":"2014-12-14T22:58:12Z","pushed_at":"2015-02-26T06:57:06Z","git_url":"git://github.com/Tom9729/teiid.git","ssh_url":"git@github.com:Tom9729/teiid.git","clone_url":"https://github.com/Tom9729/teiid.git","svn_url":"https://github.com/Tom9729/teiid","homepage":null,"size":87342,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"teiid:master","ref":"master","sha":"97df30eb6871dc2c7ea76f73f3f111c4861182e2","user":{"login":"teiid","id":2000774,"avatar_url":"https://avatars.githubusercontent.com/u/2000774?v=3","gravatar_id":"","url":"https://api.github.com/users/teiid","html_url":"https://github.com/teiid","followers_url":"https://api.github.com/users/teiid/followers","following_url":"https://api.github.com/users/teiid/following{/other_user}","gists_url":"https://api.github.com/users/teiid/gists{/gist_id}","starred_url":"https://api.github.com/users/teiid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teiid/subscriptions","organizations_url":"https://api.github.com/users/teiid/orgs","repos_url":"https://api.github.com/users/teiid/repos","events_url":"https://api.github.com/users/teiid/events{/privacy}","received_events_url":"https://api.github.com/users/teiid/received_events","type":"Organization","site_admin":false},"repo":{"id":6092163,"name":"teiid","full_name":"teiid/teiid","owner":{"login":"teiid","id":2000774,"avatar_url":"https://avatars.githubusercontent.com/u/2000774?v=3","gravatar_id":"","url":"https://api.github.com/users/teiid","html_url":"https://github.com/teiid","followers_url":"https://api.github.com/users/teiid/followers","following_url":"https://api.github.com/users/teiid/following{/other_user}","gists_url":"https://api.github.com/users/teiid/gists{/gist_id}","starred_url":"https://api.github.com/users/teiid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teiid/subscriptions","organizations_url":"https://api.github.com/users/teiid/orgs","repos_url":"https://api.github.com/users/teiid/repos","events_url":"https://api.github.com/users/teiid/events{/privacy}","received_events_url":"https://api.github.com/users/teiid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teiid/teiid","description":"  Teiid is a data virtualization system that allows applications to use data from multiple, heterogenous data stores.","fork":false,"url":"https://api.github.com/repos/teiid/teiid","forks_url":"https://api.github.com/repos/teiid/teiid/forks","keys_url":"https://api.github.com/repos/teiid/teiid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teiid/teiid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teiid/teiid/teams","hooks_url":"https://api.github.com/repos/teiid/teiid/hooks","issue_events_url":"https://api.github.com/repos/teiid/teiid/issues/events{/number}","events_url":"https://api.github.com/repos/teiid/teiid/events","assignees_url":"https://api.github.com/repos/teiid/teiid/assignees{/user}","branches_url":"https://api.github.com/repos/teiid/teiid/branches{/branch}","tags_url":"https://api.github.com/repos/teiid/teiid/tags","blobs_url":"https://api.github.com/repos/teiid/teiid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teiid/teiid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teiid/teiid/git/refs{/sha}","trees_url":"https://api.github.com/repos/teiid/teiid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teiid/teiid/statuses/{sha}","languages_url":"https://api.github.com/repos/teiid/teiid/languages","stargazers_url":"https://api.github.com/repos/teiid/teiid/stargazers","contributors_url":"https://api.github.com/repos/teiid/teiid/contributors","subscribers_url":"https://api.github.com/repos/teiid/teiid/subscribers","subscription_url":"https://api.github.com/repos/teiid/teiid/subscription","commits_url":"https://api.github.com/repos/teiid/teiid/commits{/sha}","git_commits_url":"https://api.github.com/repos/teiid/teiid/git/commits{/sha}","comments_url":"https://api.github.com/repos/teiid/teiid/comments{/number}","issue_comment_url":"https://api.github.com/repos/teiid/teiid/issues/comments{/number}","contents_url":"https://api.github.com/repos/teiid/teiid/contents/{+path}","compare_url":"https://api.github.com/repos/teiid/teiid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teiid/teiid/merges","archive_url":"https://api.github.com/repos/teiid/teiid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teiid/teiid/downloads","issues_url":"https://api.github.com/repos/teiid/teiid/issues{/number}","pulls_url":"https://api.github.com/repos/teiid/teiid/pulls{/number}","milestones_url":"https://api.github.com/repos/teiid/teiid/milestones{/number}","notifications_url":"https://api.github.com/repos/teiid/teiid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teiid/teiid/labels{/name}","releases_url":"https://api.github.com/repos/teiid/teiid/releases{/id}","created_at":"2012-10-05T15:21:04Z","updated_at":"2015-02-25T14:59:03Z","pushed_at":"2015-02-25T14:59:03Z","git_url":"git://github.com/teiid/teiid.git","ssh_url":"git@github.com:teiid/teiid.git","clone_url":"https://github.com/teiid/teiid.git","svn_url":"https://github.com/teiid/teiid","homepage":null,"size":121328,"stargazers_count":32,"watchers_count":32,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":3,"forks":66,"open_issues":3,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teiid/teiid/pulls/414"},"html":{"href":"https://github.com/teiid/teiid/pull/414"},"issue":{"href":"https://api.github.com/repos/teiid/teiid/issues/414"},"comments":{"href":"https://api.github.com/repos/teiid/teiid/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/teiid/teiid/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/teiid/teiid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teiid/teiid/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/teiid/teiid/statuses/aa1b6c21471d7a02e7e30ccec4289e8f8b0649b2"}}}}