首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Debian,节点安装,发布文件错误

Debian,节点安装,发布文件错误
EN

Stack Overflow用户
提问于 2019-06-18 18:10:28
回答 1查看 254关注 0票数 0

我有一个关于Debian和node安装的问题。

在我的Dockerfile中的这一行:RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs,构建docker失败,并显示以下错误:

代码语言:javascript
复制
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.
Reading package lists...
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
E: The repository 'http://deb.debian.org/debian stretch-updates Release' does no longer have a Release file.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn-fastly.deb.debian.org/debian stretch Release: At least one invalid signature was encountered.
Error executing command, exiting
ERROR: Service 'app' failed to build: The command '/bin/sh -c curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs' returned a non-zero code: 1


构建可以在另一个人的机器上运行,并且在部署到staging时运行良好。你对如何解决这个问题有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2019-06-18 18:30:39

相关的问题是Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)

我运行docker system prune,回收了32 it,它运行得很好。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56646732

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档