2017-10-19 38 views
0

J'essaie d'utiliser Docker avec le Cake build automation system sans succès.Comment faire pour que le projet Exemple de Cake-build fonctionne sur Docker

Je commence l'exécution de l'image mono:

docker run -it mono:latest 

Puis-je installer git:

apt-get update 
apt-get install git 

Je clone exemple du gâteau projet:

git clone https://github.com/cake-build/example.git 
cd example/ 

Puis je lance le script de construction:

./build.sh 

Le résultat est:

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. 
... 

Que pouvais-je faire pour le résoudre?

Répondre

0

Ce problème a été résolu il y a quelques mois sur https://github.com/mono/mono/pull/5159

Et comme l'exemple de gâteau est vieux, je recommande la création d'un exemple avec la dernière version de mono