我有一个关于Debian和node安装的问题。
在我的Dockerfile中的这一行: RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs ,构建docker失败,并显示以下错误:
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs
Step 13/21 : RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs ---> Running in ef7d9114d16f ## Installing the NodeSource Node.js 8.x LTS Carbon repo... ## Populating apt-get cache... + apt-get update Get:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB] Ign:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease Get:2 http://security-cdn.debian.org/debian-security stretch/updates Release [92.7 kB] Err:2 http://security-cdn.debian.org/debian-security stretch/updates Release Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease Get:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB] Ign:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease Hit:5 http://cdn-fastly.deb.debian.org/debian stretch Release Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates Release [89.4 kB] Err:6 http://cdn-fastly.deb.debian.org/debian stretch-updates Release Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device) Err:7 http://deb.debian.org/debian stretch Release.gpg At least one invalid signature was encountered.