{"action":"created","issue":{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/231","repository_url":"https://api.github.com/repos/gliderlabs/docker-alpine","labels_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/231/comments","events_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/231/events","html_url":"https://github.com/gliderlabs/docker-alpine/issues/231","id":191073465,"number":231,"title":"No space left on device","user":{"login":"ibigpapa","id":694054,"avatar_url":"https://avatars1.githubusercontent.com/u/694054?v=3","gravatar_id":"","url":"https://api.github.com/users/ibigpapa","html_url":"https://github.com/ibigpapa","followers_url":"https://api.github.com/users/ibigpapa/followers","following_url":"https://api.github.com/users/ibigpapa/following{/other_user}","gists_url":"https://api.github.com/users/ibigpapa/gists{/gist_id}","starred_url":"https://api.github.com/users/ibigpapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibigpapa/subscriptions","organizations_url":"https://api.github.com/users/ibigpapa/orgs","repos_url":"https://api.github.com/users/ibigpapa/repos","events_url":"https://api.github.com/users/ibigpapa/events{/privacy}","received_events_url":"https://api.github.com/users/ibigpapa/received_events","type":"User","site_admin":false},"labels":[{"id":169782475,"url":"https://api.github.com/repos/gliderlabs/docker-alpine/labels/bug","name":"bug","color":"fc2929","default":true},{"id":182558078,"url":"https://api.github.com/repos/gliderlabs/docker-alpine/labels/upstream","name":"upstream","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-11-22T17:30:52Z","updated_at":"2017-05-05T18:22:56Z","closed_at":"2017-05-05T18:22:56Z","body":"ERROR: Failed to create usr/libexec/gcc/x86_64-alpine-linux-musl/5.3.0/lto1: No space left on device\r\nERROR: gcc-5.3.0-r0: No space left on device\r\n\r\nWhen attempting to use docker to build the image and passing in a proxy i'm seeing errors during Installing gcc (5.3.0-r0).  I submitted an issue to docker thinking it was related to docker as i've got the free space.  #https://github.com/docker/docker/issues/28404\r\n\r\nI've tried this on 3 different implementations of docker:\r\n- Fedora 24 4x kernel with overlay2 driver #https://github.com/docker/docker/issues/28404\r\n- Docker for windows default driver\r\n- Docker on Centos with devicemapper on LVM\r\n\r\nIt's not constant if i wait long enough before attempting the build again it works.\r\n\r\nI pulled python's docker file to make sure it wasn't just mine doing it.  \r\n\r\nPython3 Docker file Modified slightly.\r\n```\r\nFROM alpine\r\n\r\nENV PATH=/usr/local/bin:$PATH LANG=C.UTF-8 PYTHON_VERSION=3.5.2 ENV=PYTHON_PIP_VERSION=9.0.1\r\n\r\nCOPY Python-3.5.2.tar.xz /python.tar.xz\r\n\r\nRUN set -ex \\\r\n    && apk add --no-cache ca-certificates \\\r\n    && apk add --no-cache --virtual .fetch-deps \\\r\n        openssl \\\r\n        tar \\\r\n        xz \\\r\n\t&& mkdir -p /usr/src/python \\\r\n\t&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \\\r\n\t&& rm python.tar.xz \\\r\n    && apk add --no-cache --virtual .build-deps \\\r\n        bzip2-dev \\\r\n\t\tgcc \\\r\n\t\tgdbm-dev \\\r\n\t\tlibc-dev \\\r\n\t\tlinux-headers \\\r\n\t\tmake \\\r\n\t\tncurses-dev \\\r\n\t\topenssl \\\r\n\t\topenssl-dev \\\r\n\t\tpax-utils \\\r\n\t\treadline-dev \\\r\n\t\tsqlite-dev \\\r\n\t\ttcl-dev \\\r\n\t\ttk \\\r\n\t\ttk-dev \\\r\n\t\txz-dev \\\r\n\t\tzlib-dev \\\r\n    && apk del .fetch-deps \\\r\n    && cd /usr/src/python \\\r\n    && ./configure \\\r\n        --enable-loadable-sqlite-extensions \\\r\n\t\t--enable-shared \\\r\n\t&& make -j$(getconf _NPROCESSORS_ONLN) \\\r\n\t&& make install \\\r\n    && if [ ! -e /usr/local/bin/pip3 ]; then : \\\r\n\t\t&& wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \\\r\n\t\t&& python3 /tmp/get-pip.py \"pip==$PYTHON_PIP_VERSION\" \\\r\n\t\t&& rm /tmp/get-pip.py \\\r\n\t; fi \\\r\n    && pip3 install --no-cache-dir --upgrade --force-reinstall \"pip==$PYTHON_PIP_VERSION\" \\\r\n    && find /usr/local -depth \\\r\n\t\t\\( \\\r\n\t\t\t\\( -type d -a -name test -o -name tests \\) \\\r\n\t\t\t-o \\\r\n\t\t\t\\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\r\n\t\t\\) -exec rm -rf '{}' + \\\r\n        && runDeps=\"$( \\\r\n\t\tscanelf --needed --nobanner --recursive /usr/local \\\r\n\t\t\t| awk '{ gsub(/,/, \"\\nso:\", $2); print \"so:\" $2 }' \\\r\n\t\t\t| sort -u \\\r\n\t\t\t| xargs -r apk info --installed \\\r\n\t\t\t| sort -u \\\r\n\t)\" \\\r\n    && apk add --virtual .python-rundeps $runDeps \\\r\n\t&& apk del .build-deps \\\r\n\t&& rm -rf /usr/src/python ~/.cache\r\n    && cd /usr/local/bin \\\r\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\r\n\t&& ln -s idle3 idle \\\r\n\t&& ln -s pydoc3 pydoc \\\r\n\t&& ln -s python3 python \\\r\n\t&& ln -s python3-config python-config\r\n\r\nCMD [\"python3\"]\r\n```\r\n\r\nBuild command i use \r\n```\r\nset proxy=http://10.0.75.1:3128\r\ndocker build --build-arg HTTP_PROXY=%proxy% --build-arg HTTPS_PROXY=%proxy% --build-arg FTP_PROXY=%proxy% --build-arg ht\r\ntp_proxy=%proxy% --build-arg https_proxy=%proxy% --build-arg ftp_proxy=%proxy% -t test/python-alpine .\r\n```\r\n\r\nFull docker build log\r\n```\r\n(60/70) Installing renderproto (0.11.1-r2)\r\n(61/70) Installing libxrender-dev (0.9.10-r0)\r\n(62/70) Installing expat-dev (2.1.1-r1)\r\n(63/70) Installing libpng-dev (1.6.21-r0)\r\n(64/70) Installing freetype-dev (2.6.3-r0)\r\n(65/70) Installing fontconfig-dev (2.12.1-r0)\r\n(66/70) Installing libxft-dev (2.3.2-r0)\r\n(67/70) Installing tk-dev (8.6.5-r0)\r\n(68/70) Installing xz-dev (5.2.2-r1)\r\n(69/70) Installing .build-deps (0)\r\n(70/70) Upgrading musl-utils (1.1.14-r12 -> 1.1.14-r14)\r\nExecuting busybox-1.24.2-r11.trigger\r\n1 errors; 84 MiB in 84 packages\r\nThe command '/bi&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz pk add&& rm python.tar.xz     && apk add --no-cache --virtual .build-deps         bzip2-dev ir -p /ug\r\ncc rc/python    readline-dev            sqlite-dev              tcl-dev aders           tk e            tk-dev -dev     xz-dev  openssl zlib-dev     && apk del .fetch-deps     && cd /\r\nusr/src/python     && ./configure         --enab&& wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py'  make -j$(getc&& python3 /tmp/get-pip.py \"pip==$PYTHON_PIP_VERSION\" &\r\n& rm /tmp/get-pip.py  ];; fi     && pip3 install --no-cache-dir -o pgrade --force-reinst\\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) local -depth    \\) -exec rm -rf '{}' +\r\n&& runDeps=\"$( ame test scanelf --needed --noban| sort -u rsive )\"     && apk add --virtual .python-rundeps $runDeps nso&& apk del .build-deps  && rm -rf /usr/src/python ~/.cache' ret\r\nurned a non-zero code: 1talled\r\n```\r\n\r\nAnother docker file that i can reproduce this with\r\n```\r\nFROM python:alpine\r\n\r\nRUN apk --no-cache add nginx g++ musl-dev linux-headers && pip install flask uwsgi connexion raven[flask] && apk del g++ musl-dev linux-headers && mkdir -p /run/nginx && mkdir -p /app && rm -rf /var/cache/apk/*\r\n\r\nCOPY ./bootstrap /\r\n\r\nRUN mv /nginx.conf /etc/nginx/ && chmod 744 run.sh\r\n\r\nCOPY ./app /app\r\n\r\nCMD [\"/bin/sh\", \"-c\", \"/run.sh\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/comments/299539514","html_url":"https://github.com/gliderlabs/docker-alpine/issues/231#issuecomment-299539514","issue_url":"https://api.github.com/repos/gliderlabs/docker-alpine/issues/231","id":299539514,"user":{"login":"andyshinn","id":315485,"avatar_url":"https://avatars2.githubusercontent.com/u/315485?v=3","gravatar_id":"","url":"https://api.github.com/users/andyshinn","html_url":"https://github.com/andyshinn","followers_url":"https://api.github.com/users/andyshinn/followers","following_url":"https://api.github.com/users/andyshinn/following{/other_user}","gists_url":"https://api.github.com/users/andyshinn/gists{/gist_id}","starred_url":"https://api.github.com/users/andyshinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyshinn/subscriptions","organizations_url":"https://api.github.com/users/andyshinn/orgs","repos_url":"https://api.github.com/users/andyshinn/repos","events_url":"https://api.github.com/users/andyshinn/events{/privacy}","received_events_url":"https://api.github.com/users/andyshinn/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T18:22:56Z","updated_at":"2017-05-05T18:22:56Z","body":"Go ahead and re-open this if we can get a good way to reproduce it. It's not clear if this is a Docker or Alpine bug."}}
{"actor":{"display_login":"andyshinn"}}