{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/sle2docker/issues/11","labels_url":"https://api.github.com/repos/SUSE/sle2docker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/sle2docker/issues/11/comments","events_url":"https://api.github.com/repos/SUSE/sle2docker/issues/11/events","html_url":"https://github.com/SUSE/sle2docker/issues/11","id":83643992,"number":11,"title":"build behind proxy not working","user":{"login":"SaschaSchuenemann","id":7026149,"avatar_url":"https://avatars.githubusercontent.com/u/7026149?v=3","gravatar_id":"","url":"https://api.github.com/users/SaschaSchuenemann","html_url":"https://github.com/SaschaSchuenemann","followers_url":"https://api.github.com/users/SaschaSchuenemann/followers","following_url":"https://api.github.com/users/SaschaSchuenemann/following{/other_user}","gists_url":"https://api.github.com/users/SaschaSchuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/SaschaSchuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaschaSchuenemann/subscriptions","organizations_url":"https://api.github.com/users/SaschaSchuenemann/orgs","repos_url":"https://api.github.com/users/SaschaSchuenemann/repos","events_url":"https://api.github.com/users/SaschaSchuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/SaschaSchuenemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-01T18:56:56Z","updated_at":"2015-06-02T17:50:18Z","closed_at":null,"body":"I can't build the images behind our company proxy. With the earlier version 0.2.1 ( installed using zypper ) I failed at **Initializing image system on:**\r\n\r\nUsing version 0.2.4 I am able to go a couple of steps further. As the log shows, proxy settings are found and forwarded. But it seems, they get lost once the script uses chroot to step into the image.\r\n\r\nsle2docker build -u *** -p *** SLE12\r\n\r\nStarting build process inside of Docker container\r\nJun-01 18:44:12 <1> : Destination: /tmp/sle2docker20150601-25500-yazv16/result/build doesn't exist\r\nJun-01 18:44:13 <1> : Description provides no MD5 hash, check\r\nJun-01 18:44:13 <1> : Reading image description [Prepare]...\r\nJun-01 18:44:13 <1> : Setting up package manager: zypper             done\r\nJun-01 18:44:13 <1> : Setting up source channel:\r\nJun-01 18:44:13 <1> : --> https://nu.novell.com/SUSE/Products/SLE-SERVER/12/x86_64/product?credentials=NCCcredentials\r\nJun-01 18:44:13 <1> : Retain SLE12:Pool\r\nJun-01 18:44:13 <1> : Setting up source channel:\r\nJun-01 18:44:13 <1> : --> https://nu.novell.com/SUSE/Updates/SLE-SERVER/12/x86_64/update?credentials=NCCcredentials\r\nJun-01 18:44:13 <1> : Retain SLE12:Updates\r\nJun-01 18:44:13 <1> : Set root log: /tmp/sle2docker20150601-25500-yazv16/result/build/image-root.1.screenrc.log...                                   done\r\nJun-01 18:44:13 <1> : Creating credentials data                      done\r\nJun-01 18:44:13 <1> : Creating default template files for new root sydone\r\nJun-01 18:44:13 <1> : Importing build keys...Jun-01 18:44:13 <1> : Adding bootstrap zypper service: SLE12:Updates                                    done\r\nJun-01 18:44:13 <1> : Adding bootstrap zypper service: SLE12:Pool    done\r\nJun-01 18:46:22 <1> : Initializing image system on: /tmp/sle2docker20150601-25500-yazv16/result/build/image-root                                     done\r\nJun-01 18:46:49 <1> : Mounting required file systems                 done\r\nJun-01 18:46:49 <1> : Updating chroot zypper service: SLE12:Pool     done\r\nJun-01 18:46:49 <1> : Adding SLE12:Pool repo to image                done\r\nJun-01 18:46:50 <1> : Updating chroot zypper service: SLE12:Updates  done\r\nJun-01 18:46:50 <1> : Adding SLE12:Updates repo to image             done\r\nJun-01 18:46:50 <1> : Installing image packages...+ export PBL_SKIP_BOOT_TEST=1\r\n+ PBL_SKIP_BOOT_TEST=1\r\n+ export http_proxy=http://***:**/\r\n+ http_proxy=http://***:**/\r\n+ trap clean INT TERM\r\n+ export ZYPP_MODALIAS_SYSFS=/tmp\r\n+ ZYPP_MODALIAS_SYSFS=/tmp\r\n+ export YAST_IS_RUNNING=true\r\n+ YAST_IS_RUNNING=true\r\n+ export ZYPP_CONF=/var/cache/kiwi/zypper/zypp.conf.1\r\n+ ZYPP_CONF=/var/cache/kiwi/zypper/zypp.conf.1\r\n+ chroot /tmp/sle2docker20150601-25500-yazv16/result/build/image-root mkdir -p /etc/zypp\r\n+ SPID=831\r\n+ wait 831\r\n+ chroot /tmp/sle2docker20150601-25500-yazv16/result/build/image-root zypper --non-interactive --pkg-cache-dir /var/cache/kiwi/packages --reposd-dir /var/cache/kiwi/zypper/repos --solv-cache-dir /var/cache/kiwi/zypper/solv --cache-dir /var/cache/kiwi/zypper --config /var/cache/kiwi/zypper/zypper.conf.1 --no-gpg-checks install --auto-agree-with-licenses --no-recommends coreutils iputils\r\nDownload (curl) error for 'https://nu.novell.com/SUSE/Products/SLE-SERVER/12/x86_64/product/x86_64/iputils-s20121221-2.19.x86_64.rpm?credentials=NCCcredentials':\r\nError code: Connection failed\r\nError message: Failed to connect to nu.novell.com port 443: No route to host\r\n\r\nProblem occured during or after installation or removal of packages:\r\nInstallation aborted by user\r\n\r\nPlease see the above error message for a hint.\r\n+ ECODE=4\r\n+ echo 4\r\n+ exit 4\r\n                                                                     failed\r\nJun-01 18:46:53 <3> : Image installation failed                      failed\r\nJun-01 18:46:53 <3> : KIWI exited with error(s)\r\nJun-01 18:46:53 <1> : Complete logfile at: /tmp/sle2docker20150601-25500-yazv16/result/build/image-root.log\r\nSomething wrong happened during the build process\r\n"},"comment":{"url":"https://api.github.com/repos/SUSE/sle2docker/issues/comments/108029505","html_url":"https://github.com/SUSE/sle2docker/issues/11#issuecomment-108029505","issue_url":"https://api.github.com/repos/SUSE/sle2docker/issues/11","id":108029505,"user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:50:18Z","updated_at":"2015-06-02T17:50:18Z","body":"This can be updated even sooner if you share the patch you wrote :) "}}