Проблема в том, что не собирается проект docker в .NET
2>Err:1 http://security.debian.org stretch/updates InRelease
2> Temporary failure resolving 'security.debian.org'
2>Err:2 http://deb.debian.org/debian stretch InRelease
2> Temporary failure resolving 'deb.debian.org'
2>Err:3 http://deb.debian.org/debian stretch-updates InRelease
2> Temporary failure resolving 'deb.debian.org'
2>Reading package lists...
2>[91mW: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
2>W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'[0m[91m
2>W[0m[91m: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
2>W[0m[91m: [0m[91mSome index files failed to download. They have been ignored, or old ones used instead.[0m[91m
2>[0mRemoving intermediate container ca9b9803af08
2> ---> 1096fe7a06b0
2>Step 4/9 : RUN apt-get install -y libgdiplus
2> ---> Running in d8c301fa462b
2>Reading package lists...
2>Building dependency tree...
2>Reading state information...
2>[91mE: Unable to locate package libgdiplus
2>Service 'rpd.loader.service' failed to build: The command '/bin/sh -c apt-get install -y libgdiplus' returned a non-zero code: 100
2>[0m
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : Building rpd.loader.service
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : Service 'rpd.loader.service' failed to build: The command '/bin/sh -c apt-get install -y libgdiplus' returned a non-zero code: 100.
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error :
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : For more troubleshooting information, go to http://aka.ms/DockerToolsTroubleshooting
2>Done building project "docker-compose.dcproj" -- FAILED.
========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ===
вот такие ошибки.
Было подозрение на библиотеку CoreCompat, я её удалил, ошибка та же самая.
Здравствуйте, sokol74, Вы писали:
S>Проблема в том, что не собирается проект docker в .NET
2>>Err:1 http://security.debian.org stretch/updates InRelease
2>> Temporary failure resolving 'security.debian.org'
2>>Err:2 http://deb.debian.org/debian stretch InRelease
2>> Temporary failure resolving 'deb.debian.org'
2>>Err:3 http://deb.debian.org/debian stretch-updates InRelease
2>> Temporary failure resolving 'deb.debian.org'
2>>Reading package lists...
2>>[91mW: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
2>>W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'[0m[91m
2>>W[0m[91m: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
2>>W[0m[91m: [0m[91mSome index files failed to download. They have been ignored, or old ones used instead.[0m[91m
2>>[0mRemoving intermediate container ca9b9803af08
2>> ---> 1096fe7a06b0
2>>Step 4/9 : RUN apt-get install -y libgdiplus
2>> ---> Running in d8c301fa462b
2>>Reading package lists...
2>>Building dependency tree...
2>>Reading state information...
2>>[91mE: Unable to locate package libgdiplus
2>>Service 'rpd.loader.service' failed to build: The command '/bin/sh -c apt-get install -y libgdiplus' returned a non-zero code: 100
2>>[0m
2>>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : Building rpd.loader.service
2>>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : Service 'rpd.loader.service' failed to build: The command '/bin/sh -c apt-get install -y libgdiplus' returned a non-zero code: 100.
2>>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error :
2>>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.Docker.targets(111,5): error : For more troubleshooting information, go to http://aka.ms/DockerToolsTroubleshooting
2>>Done building project "docker-compose.dcproj" -- FAILED.
S>========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ===
S>вот такие ошибки.
S>Было подозрение на библиотеку CoreCompat, я её удалил, ошибка та же самая.
Бывает так, что если сделать Clean Solution, а потом Build (не ReBuild), то собирается. Но если делать Rebuild не собирается
Здравствуйте, sokol74, Вы писали:
2>Err:3 http://deb.debian.org/debian stretch-updates InRelease
2> Temporary failure resolving 'deb.debian.org'
написано же — интернета нет в контейнере.
S>Бывает так, что если сделать Clean Solution, а потом Build (не ReBuild), то собирается. Но если делать Rebuild не собирается
в студии/vscode я не пробовал docker-интеграцию, скорее всего глючит пере-поднимание сети в контейнере. такое бывает и без студии, тогда смиритесь.
кто в студии пробовал эту интеграцию подтвердите или опровергните please.
в принципе совать интеграцию с докером в солюшн/проект необязательно — пусть кто-то один этим занимается.