我试图将Docker与Cake build automation system一起使用但没有成功。
我开始运行单声道图像:
docker run -it mono:latest
然后我安装git:
apt-get update
apt-get install git
然后我克隆了Cake的示例项目:
git clone https://github.com/cake-build/example.git
cd example/
然后我运行构建脚本:
./build.sh
结果是:
Feeds used:
https://api.nuget.org/v3/index.json
Restoring NuGet package Cake.0.23.0.
Got a bad hardware address length for an AF_PACKET 16 8
Got a bad hardware address length for an AF_PACKET 16 8
Got a bad hardware address length for an AF_PACKET 16 8
Got a bad hardware address length for an AF_PACKET 16 8
Got a bad hardware address length for an AF_PACKET 16 8
Got a bad hardware address length for an AF_PACKET 16 8
GET https://api.nuget.org/v3-flatcontainer/cake/0.23.0/cake.0.23.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/cake/0.23.0/cake.0.23.0.nupkg 589ms
Installing Cake 0.23.0.
Could not restore NuGet packages.
...
我能做些什么来解决它?
答案 0 :(得分:0)
几个月前,https://github.com/mono/mono/pull/5159
解决了这个问题由于蛋糕示例已经过时,我建议使用最新版本的mono
创建一个示例