Информация об изменениях

Сообщение docker push: несколько образов с разной архитектурой от 12.03.2020 22:32

Изменено 12.03.2020 22:51 VladCore

Встроенная сборка в dockerhub удаляет arm-овские образы
Добавил сборку образов, встроенную в dockerhub. Оно же только под AMD64 умеет собирать?

с тегом latest естественно

Оно собрало и удалило arm-овские образы под v7 и 64 бит. те тоже были с тегом latest.

Так и должно быть?
НЕТ

другие образы для разных архитектур как то НЕ перетирают друг друга

Пробовал соибрать новомодным встроенный мульти-арч сборщиком. Очень удобно, но
Но там сеть глючит: и dotnet restore и dotnet nuget падают в unmanaged коде (в найтив arm-системе ничего разумеется с сетью не глючит). Примерно так:
#14 768.1 Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
#14 768.1    at System.Memory`1[[System.Byte, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].op_Implicit(System.Memory`1<Byte>)
#14 768.1    at System.Security.Cryptography.Asn1.AsnWriter.WriteEncodedValue(System.ReadOnlySpan`1<Byte>)
#14 768.1    at Internal.Cryptography.Pal.X500NameEncoder.X500DistinguishedNameEncode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at Internal.Cryptography.Pal.OpenSslX509Encoder.X500DistinguishedNameEncode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName.Encode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName..ctor(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName..ctor(System.String)
#14 768.1    at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.CreateAspNetCoreHttpsDevelopmentCertificate(System.DateTimeOffset, System.DateTimeOffset, System.String, DiagnosticInformation)
#14 768.1    at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.EnsureValidCertificateExists(System.DateTimeOffset, System.DateTimeOffset, Microsoft.AspNetCore.Certificates.Generation.CertificatePurpose, System.String, Boolean, Boolean, System.String, System.String, Boolean)
#14 768.1    at Microsoft.AspNetCore.DeveloperCertificates.XPlat.CertificateGenerator.GenerateAspNetHttpsCertificate()
#14 768.1    at Microsoft.DotNet.Cli.AspNetCoreCertificateGenerator.GenerateAspNetCoreDevelopmentCertificate()
#14 768.1    at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
#14 768.1    at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(Microsoft.DotNet.Configurer.IFirstTimeUseNoticeSentinel, Microsoft.DotNet.Configurer.IAspNetCertificateSentinel, Microsoft.DotNet.Configurer.IFileSentinel, Boolean, Microsoft.DotNet.Configurer.DotnetFirstRunConfiguration, Microsoft.DotNet.Cli.Utils.IEnvironmentProvider)
#14 768.1    at Microsoft.DotNet.Cli.Program.ProcessArgs(System.String[], Microsoft.DotNet.Cli.Telemetry.ITelemetry)
#14 768.1    at Microsoft.DotNet.Cli.Program.Main(System.String[])
#14 768.4 /bin/bash: line 1: 21008 Aborted                 (core dumped) dotnet nuget locals all --clear



Что делать хз.

В идеале хочется заставить нормально работает сеть в multi-arch сборке. как?
docker push: несколько образов с разной архитектурой и одина
Добавил сборку образов, встроенную в dockerhub. Оно же только под AMD64 умеет собирать?

с тегом latest естественно

Оно собрало и удалило arm-овские образы под v7 и 64 бит. те тоже были с тегом latest.

Так и должно быть?
НЕТ

другие образы для разных архитектур как то НЕ перетирают друг друга

Пробовал соибрать новомодным встроенный мульти-арч сборщиком. Очень удобно, но
Но там сеть глючит: и dotnet restore и dotnet nuget падают в unmanaged коде (в найтив arm-системе ничего разумеется с сетью не глючит). Примерно так:
#14 768.1 Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
#14 768.1    at System.Memory`1[[System.Byte, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].op_Implicit(System.Memory`1<Byte>)
#14 768.1    at System.Security.Cryptography.Asn1.AsnWriter.WriteEncodedValue(System.ReadOnlySpan`1<Byte>)
#14 768.1    at Internal.Cryptography.Pal.X500NameEncoder.X500DistinguishedNameEncode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at Internal.Cryptography.Pal.OpenSslX509Encoder.X500DistinguishedNameEncode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName.Encode(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName..ctor(System.String, System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags)
#14 768.1    at System.Security.Cryptography.X509Certificates.X500DistinguishedName..ctor(System.String)
#14 768.1    at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.CreateAspNetCoreHttpsDevelopmentCertificate(System.DateTimeOffset, System.DateTimeOffset, System.String, DiagnosticInformation)
#14 768.1    at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.EnsureValidCertificateExists(System.DateTimeOffset, System.DateTimeOffset, Microsoft.AspNetCore.Certificates.Generation.CertificatePurpose, System.String, Boolean, Boolean, System.String, System.String, Boolean)
#14 768.1    at Microsoft.AspNetCore.DeveloperCertificates.XPlat.CertificateGenerator.GenerateAspNetHttpsCertificate()
#14 768.1    at Microsoft.DotNet.Cli.AspNetCoreCertificateGenerator.GenerateAspNetCoreDevelopmentCertificate()
#14 768.1    at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
#14 768.1    at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(Microsoft.DotNet.Configurer.IFirstTimeUseNoticeSentinel, Microsoft.DotNet.Configurer.IAspNetCertificateSentinel, Microsoft.DotNet.Configurer.IFileSentinel, Boolean, Microsoft.DotNet.Configurer.DotnetFirstRunConfiguration, Microsoft.DotNet.Cli.Utils.IEnvironmentProvider)
#14 768.1    at Microsoft.DotNet.Cli.Program.ProcessArgs(System.String[], Microsoft.DotNet.Cli.Telemetry.ITelemetry)
#14 768.1    at Microsoft.DotNet.Cli.Program.Main(System.String[])
#14 768.4 /bin/bash: line 1: 21008 Aborted                 (core dumped) dotnet nuget locals all --clear



Что делать хз.

В идеале хочется заставить нормально работает сеть в multi-arch сборке. как?