{"action":"created","issue":{"url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/1","repository_url":"https://api.github.com/repos/hornpolish/docker.sas.awb","labels_url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/1/comments","events_url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/1/events","html_url":"https://github.com/hornpolish/docker.sas.awb/issues/1","id":335910813,"node_id":"MDU6SXNzdWUzMzU5MTA4MTM=","number":1,"title":"shell script won't work on Windows OS.","user":{"login":"neallee2012","id":1499497,"node_id":"MDQ6VXNlcjE0OTk0OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1499497?v=4","gravatar_id":"","url":"https://api.github.com/users/neallee2012","html_url":"https://github.com/neallee2012","followers_url":"https://api.github.com/users/neallee2012/followers","following_url":"https://api.github.com/users/neallee2012/following{/other_user}","gists_url":"https://api.github.com/users/neallee2012/gists{/gist_id}","starred_url":"https://api.github.com/users/neallee2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neallee2012/subscriptions","organizations_url":"https://api.github.com/users/neallee2012/orgs","repos_url":"https://api.github.com/users/neallee2012/repos","events_url":"https://api.github.com/users/neallee2012/events{/privacy}","received_events_url":"https://api.github.com/users/neallee2012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T16:57:47Z","updated_at":"2018-06-26T17:03:28Z","closed_at":null,"author_association":"NONE","body":"When using Docker for Windows, it will fail while RUN /tmp/install_sas as shell script won't work on Windows OS."},"comment":{"url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/comments/400390374","html_url":"https://github.com/hornpolish/docker.sas.awb/issues/1#issuecomment-400390374","issue_url":"https://api.github.com/repos/hornpolish/docker.sas.awb/issues/1","id":400390374,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDM5MDM3NA==","user":{"login":"neallee2012","id":1499497,"node_id":"MDQ6VXNlcjE0OTk0OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1499497?v=4","gravatar_id":"","url":"https://api.github.com/users/neallee2012","html_url":"https://github.com/neallee2012","followers_url":"https://api.github.com/users/neallee2012/followers","following_url":"https://api.github.com/users/neallee2012/following{/other_user}","gists_url":"https://api.github.com/users/neallee2012/gists{/gist_id}","starred_url":"https://api.github.com/users/neallee2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neallee2012/subscriptions","organizations_url":"https://api.github.com/users/neallee2012/orgs","repos_url":"https://api.github.com/users/neallee2012/repos","events_url":"https://api.github.com/users/neallee2012/events{/privacy}","received_events_url":"https://api.github.com/users/neallee2012/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T17:03:28Z","updated_at":"2018-06-26T17:03:28Z","author_association":"NONE","body":"I try to workaround it by \r\n\r\n1. comment RUN /tmp/install_sas\r\n1. move the content of install_sas into Dockerfile as below\r\n```\r\nRUN set -x\r\nRUN mkdir -p /etc/pki/sas/private\r\nRUN cd /tmp/saspb; \\\r\n    wget -q -O sasorch.tgz https://support.sas.com/installation/viya/sas-orchestration-cli/lax/sas-orchestration.tgz; \\\r\n    tar xvfz sasorch.tgz; \\\r\n    ./sas-orchestration build --input SAS_Viya_deployment_data.zip; \\\r\n    tar xvfz SAS_Viya_playbook.tgz; \\\r\n    cd sas_viya_playbook; \\\r\n    sed -i \"s/yum /yum -y /g\" customized_deployment_script.sh; \\\r\n    ./customized_deployment_script.sh; \\\r\n    yum -y clean all; \\\r\n    cd /tmp; \\\r\n    rm -rf /tmp/saspb; \\\r\n    sed -i \"s/\\${ADMIN_USER}/cas/g\" /opt/sas/viya/config/etc/cas/default/perms.xml; \\\r\n    cp /opt/sas/viya/home/SASFoundation/utilities/bin/sas-cascontroller.init /etc/rc.d/init.d/sas-viya-cascontroller-default; \\\r\n    chown sas:sas /etc/rc.d/init.d/sas-viya-cascontroller-default; \\\r\n    /sbin/chkconfig --add /etc/rc.d/init.d/sas-viya-cascontroller-default\r\n```"}}
{"actor":{"display_login":"neallee2012"}}