I'm working on a dotnet core project using docker and amazon EC2 instance (local machine is a mac).
Everything was working fine till today.
On my last docker build, the command dotnet restore starts installing new and necessary packages.
It should install only 65 packages and now I get more than a hundred.
Moreover, the image generated by docker has grown from 500Mo to 850Mo with no reason.
Do you have any clue where it might come from.
My full install :
Mac OS El Capitan
Visual Code 1.17.2
.net core 1.1
Docker
Amazon EC2 Instance
------ Edit : More infos ---------
My csproj file
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.CognitoIdentity" Version="3.3.2.6" />
<PackageReference Include="AWSSDK.Core" Version="3.3.13.1" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.3.0.3" />
<PackageReference Include="AWSSDK.S3" Version="3.3.5.14" />
<PackageReference Include="SSH.Net" Version="2016.0.0" />
<PackageReference Include="ImageSharp" Version="1.0.0-alpha9-00089" />
<PackageReference Include="ImageSharp.Drawing" Version="1.0.0-alpha9-00084" />
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="1.3.2" />
<PackageReference Include="MailKit" Version="1.16.1" />
<PackageReference Include="Mailjet.Api" Version="1.0.1" />
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.1" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="5.1.3" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Https" Version="1.0.1" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.1.3" />
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" />
<PackageReference Include="Certes" Version="1.1.0" />
</ItemGroup>
</Project>
The Docker File :
FROM microsoft/dotnet:latest
COPY . /app
WORKDIR /app
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]
ENTRYPOINT ["dotnet", "run"]
And here are all the packages installed by dotnet restore command. Some packages are installed twice in two different versions. Strange also to have some ubuntu or Apple SSL package that weren't installed before :
Installing System.Text.Encodings.Web 4.0.0.
Installing System.Net.WebSockets 4.0.0.
Installing System.Threading.Tasks.Parallel 4.0.1.
Installing Microsoft.AspNetCore.Razor 1.1.1.
Installing System.IdentityModel.Tokens.Jwt 5.1.3.
Installing Microsoft.DotNet.PlatformAbstractions 1.1.1.
Installing System.IO.FileSystem.Watcher 4.0.0.
Installing Microsoft.Extensions.FileSystemGlobbing 1.0.0.
Installing Microsoft.Extensions.Logging.Debug 1.1.1.
Installing AWSSDK.CognitoIdentity 3.3.2.6.
Installing Microsoft.AspNetCore.WebUtilities 1.0.0.
Installing AWSSDK.Extensions.NETCore.Setup 3.3.0.3.
Installing Mailjet.Api 1.0.1.
Installing Microsoft.AspNetCore.Cryptography.KeyDerivation 1.1.1.
Installing Microsoft.EntityFrameworkCore.InMemory 1.1.1.
Installing Microsoft.Extensions.ObjectPool 1.0.0.
Installing Microsoft.Net.Http.Headers 1.0.0.
Installing Microsoft.AspNetCore.Http.Abstractions 1.0.0.
Installing Microsoft.Extensions.FileProviders.Abstractions 1.0.0.
Installing Microsoft.AspNetCore.Http.Features 1.0.0.
Installing System.Runtime.Serialization.Json 4.3.0.
Installing AWSSDK.S3 3.3.5.14.
Installing Microsoft.IdentityModel.Tokens 5.1.3.
Installing System.Collections.Immutable 1.2.0.
Installing ImageSharp 1.0.0-alpha9-00140.
Installing Microsoft.AspNetCore 1.1.1.
Installing Microsoft.AspNetCore.Authentication.JwtBearer 1.1.1.
Installing SSH.NET 2016.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel.Https 1.0.1.
Installing AWSSDK.Core 3.3.13.1.
Installing MailKit 1.16.1.
Installing Certes 1.1.0.
Installing Npgsql.EntityFrameworkCore.PostgreSQL 1.1.0.
Installing iTextSharp.LGPLv2.Core 1.3.2.
Installing ImageSharp.Drawing 1.0.0-alpha9-00135.
Installing Microsoft.EntityFrameworkCore.SqlServer 1.1.1.
Installing Microsoft.NETCore.App 1.1.2.
Installing Microsoft.AspNetCore.Mvc 1.1.2.
Installing Microsoft.Extensions.Configuration.Abstractions 1.0.0.
Installing Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0.
Installing AWSSDK.SecurityToken 3.3.1.5.
Installing System.Net.WebSockets 4.3.0.
Installing System.ComponentModel.Primitives 4.3.0.
Installing Microsoft.Extensions.Logging.Abstractions 1.1.1.
Installing Microsoft.AspNetCore.Razor.Runtime 1.1.1.
Installing Microsoft.Extensions.DependencyModel 1.1.1.
Installing NETStandard.Library 1.6.1.
Installing Newtonsoft.Json 9.0.1.
Installing Microsoft.AspNetCore.Cryptography.Internal 1.1.1.
Installing System.IO 4.3.0.
Installing Microsoft.EntityFrameworkCore 1.1.1.
Installing System.Runtime 4.3.0.
Installing Microsoft.AspNetCore.Mvc.Abstractions 1.1.2.
Installing System.Private.DataContractSerialization 4.3.0.
Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 1.1.1.
Installing System.Collections 4.3.0.
Installing System.Diagnostics.Tools 4.3.0.
Installing System.Runtime.Extensions 4.3.0.
Installing Microsoft.AspNetCore.Authorization 1.1.1.
Installing Microsoft.Extensions.Globalization.CultureInfoCache 1.1.1.
Installing Microsoft.Extensions.Localization.Abstractions 1.1.1.
Installing System.Runtime.InteropServices 4.3.0.
Installing System.Runtime.InteropServices.RuntimeInformation 4.3.0.
Installing System.Security.Claims 4.3.0.
Installing System.Security.Cryptography.X509Certificates 4.3.0.
Installing System.Security.Cryptography.Algorithms 4.3.0.
Installing System.Text.RegularExpressions 4.3.0.
Installing System.Threading 4.3.0.
Installing System.Xml.ReaderWriter 4.3.0.
Installing Microsoft.IdentityModel.Logging 1.1.3.
Installing System.Buffers 4.3.0.
Installing System.Threading.Tasks.Parallel 4.3.0.
Installing System.Numerics.Vectors 4.3.0.
Installing System.IO.Compression 4.3.0.
Installing System.Runtime.CompilerServices.Unsafe 4.4.0-preview1-25305-02.
Installing System.Memory 4.4.0-preview1-25305-02.
Installing Microsoft.AspNetCore.Server.Kestrel 1.1.1.
Installing Microsoft.Extensions.Configuration.EnvironmentVariables 1.1.1.
Installing Microsoft.Extensions.Configuration.Json 1.1.1.
Installing Microsoft.Extensions.Logging 1.1.1.
Installing Microsoft.Extensions.Configuration.FileExtensions 1.1.1.
Installing Microsoft.Extensions.Logging.Console 1.1.1.
Installing Microsoft.AspNetCore.Routing 1.1.1.
Installing Microsoft.AspNetCore.Diagnostics 1.1.1.
Installing Microsoft.Extensions.Options.ConfigurationExtensions 1.1.1.
Installing Microsoft.AspNetCore.Hosting 1.1.1.
Installing Microsoft.AspNetCore.Server.IISIntegration 1.1.1.
Installing Microsoft.IdentityModel.Protocols.OpenIdConnect 2.1.2.
Installing Microsoft.AspNetCore.Authentication 1.1.1.
Installing Microsoft.CSharp 4.0.1.
Installing System.Diagnostics.TraceSource 4.0.0.
Installing System.Globalization 4.0.11.
Installing System.Diagnostics.Tools 4.0.1.
Installing System.Diagnostics.Debug 4.0.11.
Installing System.IO 4.1.0.
Installing System.IO.FileSystem 4.0.1.
Installing System.IO.FileSystem.Primitives 4.0.1.
Installing System.Linq 4.1.0.
Installing System.Net.Sockets 4.1.0.
Installing System.Reflection.Extensions 4.0.1.
Installing System.Threading.Thread 4.0.0.
Installing System.Threading.ThreadPool 4.0.10.
Installing System.Security.Cryptography.Algorithms 4.2.0.
Installing System.Text.RegularExpressions 4.1.0.
Installing System.Threading.Timer 4.0.1.
Installing System.Threading 4.0.11.
Installing System.Runtime.CompilerServices.Unsafe 4.3.0.
Installing System.Runtime.Extensions 4.1.0.
Installing System.Xml.XPath.XDocument 4.0.1.
Installing System.Xml.XmlDocument 4.0.1.
Installing System.Xml.XPath.XmlDocument 4.0.1.
Installing SshNet.Security.Cryptography 1.2.0.
Installing System.Net.NameResolution 4.0.0.
Installing System.Net.Security 4.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel 1.0.1.
Installing System.Collections 4.0.11.
Installing System.Text.Encoding.CodePages 4.0.1.
Installing System.Console 4.0.0.
Installing System.Collections.NonGeneric 4.0.1.
Installing System.Net.Http 4.1.0.
Installing System.Reflection.TypeExtensions 4.1.0.
Installing System.Runtime.InteropServices 4.1.0.
Installing System.Security.Cryptography.Csp 4.0.0.
Installing System.Text.Encoding.Extensions 4.0.11.
Installing System.Xml.XDocument 4.0.11.
Installing System.Net.Requests 4.0.11.
Installing System.ValueTuple 4.3.1.
Installing Portable.BouncyCastle 1.8.1.2.
Installing Microsoft.Extensions.DependencyInjection.Abstractions 1.1.0.
Installing Microsoft.Extensions.DependencyInjection 1.1.0.
Installing Microsoft.EntityFrameworkCore 1.1.0.
Installing System.Diagnostics.FileVersionInfo 4.0.0.
Installing Microsoft.EntityFrameworkCore.Relational 1.1.0.
Installing Npgsql 3.1.9.
Installing System.Runtime.Serialization.Primitives 4.3.0.
Installing System.Reflection.TypeExtensions 4.3.0.
Installing System.Globalization.Extensions 4.3.0.
Installing System.Text.Encoding.CodePages 4.3.0.
Installing System.Net.NameResolution 4.3.0.
Installing System.Net.Security 4.3.0.
Installing System.Data.Common 4.3.0.
Installing System.Net.NetworkInformation 4.3.0.
Installing MimeKit 1.16.1.
Installing System.Collections.NonGeneric 4.3.0.
Installing System.Net.Requests 4.3.0.
Installing System.Runtime.Loader 4.3.0.
Installing CoreCompat.System.Drawing 1.0.0-beta006.
Installing System.Threading.Thread 4.3.0.
Installing Microsoft.EntityFrameworkCore.Relational 1.1.1.
Installing System.Xml.XmlDocument 4.3.0.
Installing System.Data.SqlClient 4.3.0.
Installing SixLabors.Shapes.Text 0.1.0-alpha0017.
Installing Libuv 1.9.1.
Installing Microsoft.CSharp 4.3.0.
Installing Microsoft.NETCore.Runtime.CoreCLR 1.1.2.
Installing Microsoft.VisualBasic 10.1.0.
Installing System.Collections.Immutable 1.3.0.
Installing System.ComponentModel 4.3.0.
Installing System.Dynamic.Runtime 4.3.0.
Installing System.Linq.Parallel 4.3.0.
Installing System.Linq.Expressions 4.3.0.
Installing System.Reflection.Metadata 1.4.1.
Installing System.Resources.Reader 4.3.0.
Installing System.AppContext 4.1.0.
Installing System.Security.Cryptography.Encoding 4.3.0.
Installing System.Security.Cryptography.Primitives 4.3.0.
Installing System.Threading.Tasks.Extensions 4.3.0.
Installing System.Threading.ThreadPool 4.3.0.
Installing System.ComponentModel.Annotations 4.3.0.
Installing Microsoft.NETCore.DotNetHostPolicy 1.1.2.
Installing System.Diagnostics.DiagnosticSource 4.3.1.
Installing System.Linq.Queryable 4.3.0.
Installing System.IO.MemoryMappedFiles 4.3.0.
Installing System.IO.UnmanagedMemoryStream 4.3.0.
Installing System.Net.Http 4.3.2.
Installing System.IO.FileSystem.Watcher 4.3.0.
Installing System.Reflection.DispatchProxy 4.3.0.
Installing System.Net.WebHeaderCollection 4.3.0.
Installing runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing System.Diagnostics.Process 4.3.0.
Installing System.Threading.Tasks.Dataflow 4.7.0.
Installing System.Net.Security 4.3.1.
Installing Microsoft.CodeAnalysis.CSharp 1.3.0.
Installing Microsoft.CodeAnalysis.VisualBasic 1.3.0.
Installing Microsoft.AspNetCore.Mvc.Localization 1.1.2.
Installing Microsoft.Extensions.Caching.Memory 1.1.1.
Installing Microsoft.DiaSymReader.Native 1.4.1.
Installing Microsoft.AspNetCore.Mvc.TagHelpers 1.1.2.
Installing Microsoft.AspNetCore.Mvc.Cors 1.1.2.
Installing Microsoft.AspNetCore.Mvc.ApiExplorer 1.1.2.
Installing Microsoft.AspNetCore.Mvc.DataAnnotations 1.1.2.
Installing Microsoft.AspNetCore.Mvc.Formatters.Json 1.1.2.
Installing Microsoft.AspNetCore.Mvc.ViewFeatures 1.1.2.
Installing Microsoft.Extensions.Primitives 1.0.0.
Installing System.Linq.Expressions 4.1.0.
Installing Microsoft.AspNetCore.Mvc.Razor 1.1.2.
Installing System.Reflection 4.1.0.
Installing System.ComponentModel 4.0.1.
Installing Microsoft.NETCore.Platforms 1.1.0.
Installing Microsoft.Win32.Primitives 4.3.0.
Installing System.AppContext 4.3.0.
Installing System.Resources.ResourceManager 4.0.1.
Installing System.Collections.Concurrent 4.3.0.
Installing System.Console 4.3.0.
Installing System.Diagnostics.Debug 4.3.0.
Installing System.Globalization 4.3.0.
Installing System.Diagnostics.Tracing 4.3.0.
Installing System.Globalization.Calendars 4.3.0.
Installing System.IO.Compression.ZipFile 4.3.0.
Installing System.IO.FileSystem 4.3.0.
Installing System.IO.FileSystem.Primitives 4.3.0.
Installing System.Linq 4.3.0.
Installing System.Net.Http 4.3.0.
Installing System.Net.Primitives 4.3.0.
Installing System.Net.Sockets 4.3.0.
Installing System.ObjectModel 4.3.0.
Installing Microsoft.CodeAnalysis.Analyzers 1.1.0.
Installing System.Reflection.Extensions 4.3.0.
Installing System.Reflection 4.3.0.
Installing System.Reflection.Primitives 4.3.0.
Installing System.Resources.ResourceManager 4.3.0.
Installing System.Runtime.Handles 4.3.0.
Installing System.Runtime.Numerics 4.3.0.
Installing Microsoft.NETCore.DotNetHost 1.1.0.
Installing System.Text.Encoding 4.3.0.
Installing System.ObjectModel 4.0.12.
Installing System.Runtime 4.1.0.
Installing System.Threading.Tasks 4.3.0.
Installing System.Text.Encoding 4.0.11.
Installing System.Threading.Tasks 4.0.11.
Installing System.Xml.ReaderWriter 4.0.11.
Installing System.Threading.Timer 4.3.0.
Installing System.Text.Encoding.Extensions 4.3.0.
Installing System.Xml.XDocument 4.3.0.
Installing System.Runtime.Serialization.Primitives 4.1.1.
Installing System.Dynamic.Runtime 4.0.11.
Installing System.Collections.Immutable 1.3.1.
Installing Remotion.Linq 2.1.1.
Installing System.Interactive.Async 3.0.0.
Installing Microsoft.NETCore.Targets 1.1.0.
Installing System.Reflection.Emit.ILGeneration 4.3.0.
Installing System.Reflection.Emit.Lightweight 4.3.0.
Installing System.Xml.XmlSerializer 4.3.0.
Installing System.Security.Principal 4.3.0.
Installing runtime.native.System.Security.Cryptography.Apple 4.3.0.
Installing runtime.native.System 4.3.0.
Installing runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.native.System.Net.Http 4.3.0.
Installing System.Security.Cryptography.Cng 4.3.0.
Installing System.Security.Cryptography.Csp 4.3.0.
Installing System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.win7-x86.runtime.native.System.Data.SqlClient.sni 4.3.0.
Installing runtime.native.System.IO.Compression 4.3.0.
Installing Microsoft.Extensions.Configuration 1.1.1.
Installing Microsoft.Extensions.Configuration.Abstractions 1.1.1.
Installing Microsoft.Extensions.Options 1.1.1.
Installing Microsoft.Extensions.Configuration.Binder 1.1.1.
Installing Microsoft.Extensions.FileProviders.Physical 1.1.0.
Installing Microsoft.Extensions.ObjectPool 1.1.0.
Installing Microsoft.AspNetCore.Routing.Abstractions 1.1.1.
Installing Microsoft.AspNetCore.Http.Extensions 1.1.1.
Installing System.Diagnostics.StackTrace 4.3.0.
Installing System.Diagnostics.DiagnosticSource 4.3.0.
Installing Microsoft.AspNetCore.Diagnostics.Abstractions 1.1.1.
Installing Microsoft.AspNetCore.WebUtilities 1.1.1.
Installing Microsoft.AspNetCore.Hosting.Abstractions 1.1.1.
Installing runtime.win7-x64.runtime.native.System.Data.SqlClient.sni 4.3.0.
Installing Microsoft.Extensions.PlatformAbstractions 1.1.0.
Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 1.1.1.
Installing Microsoft.AspNetCore.Http 1.1.1.
Installing System.Security.Principal.Windows 4.3.0.
Installing Microsoft.AspNetCore.HttpOverrides 1.1.1.
Installing Microsoft.IdentityModel.Protocols 2.1.2.
Installing Microsoft.Extensions.WebEncoders 1.1.1.
Installing Microsoft.AspNetCore.DataProtection 1.1.1.
Installing System.Reflection.Primitives 4.0.1.
Installing Microsoft.NETCore.Platforms 1.0.1.
Installing Microsoft.NETCore.Targets 1.0.1.
Installing runtime.native.System 4.0.0.
Installing System.Runtime.Handles 4.0.1.
Installing runtime.native.System.Security.Cryptography 4.0.0.
Installing System.Net.Primitives 4.0.11.
Installing System.Security.Cryptography.Encoding 4.0.0.
Installing System.Security.Cryptography.Primitives 4.0.0.
Installing System.Runtime.Numerics 4.0.1.
Installing System.Xml.XPath 4.0.1.
Installing System.ComponentModel.Primitives 4.1.0.
Installing System.Diagnostics.Tracing 4.1.0.
Installing System.Security.Principal.Windows 4.0.0.
Installing Microsoft.Win32.Primitives 4.0.1.
Installing runtime.native.System.Net.Security 4.0.1.
Installing System.Collections.Concurrent 4.0.12.
Installing System.Globalization.Extensions 4.0.1.
Installing System.Security.Claims 4.0.1.
Installing System.Security.Cryptography.OpenSsl 4.0.0.
Installing System.Security.Cryptography.X509Certificates 4.1.0.
Installing System.Security.Principal 4.0.1.
Installing System.Buffers 4.0.0.
Installing System.Runtime.InteropServices.RuntimeInformation 4.0.0.
Installing System.Threading.Tasks.Extensions 4.0.0.
Installing Microsoft.Extensions.Logging.Abstractions 1.0.0.
Installing System.Numerics.Vectors 4.1.1.
Installing Libuv 1.9.0.
Installing Microsoft.AspNetCore.Hosting 1.0.0.
Installing runtime.native.System.Net.Http 4.0.1.
Installing System.Diagnostics.DiagnosticSource 4.0.0.
Installing System.Net.WebHeaderCollection 4.0.1.
Installing Microsoft.Extensions.Logging 1.1.0.
Installing Microsoft.Extensions.Caching.Memory 1.1.0.
Installing System.Diagnostics.Contracts 4.0.1.
Installing System.Data.Common 4.1.0.
Installing System.Net.NetworkInformation 4.1.0.
Installing System.ComponentModel.TypeConverter 4.1.0.
Installing System.Threading.Overlapped 4.0.1.
Installing runtime.native.System.Net.Security 4.3.0.
Installing System.Threading.Overlapped 4.3.0.
Installing System.Collections.Specialized 4.0.1.
Installing System.Drawing.Primitives 4.0.0.
Installing System.IO.Pipes 4.3.0.
Installing runtime.native.System.Data.SqlClient.sni 4.3.0.
Installing SixLabors.Fonts 0.1.0-alpha0011.
Installing SixLabors.Shapes 0.1.0-alpha0017.
Installing Microsoft.NETCore.Windows.ApiSets 1.0.1.
Installing Microsoft.NETCore.Jit 1.1.2.
Installing System.Reflection.Emit 4.3.0.
Installing Microsoft.NETCore.DotNetHostResolver 1.1.0.
Installing runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing Microsoft.Win32.Registry 4.3.0.
Installing runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing Microsoft.CodeAnalysis.Common 1.3.0.
Installing Microsoft.Extensions.Caching.Abstractions 1.1.1.
Installing Microsoft.Extensions.FileSystemGlobbing 1.1.0.
Installing Microsoft.Extensions.Primitives 1.1.0.
Installing Microsoft.AspNetCore.Localization 1.1.1.
Installing Microsoft.AspNetCore.Cors 1.1.1.
Installing Microsoft.AspNetCore.Mvc.Core 1.1.2.
Installing runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.1.
Installing Microsoft.AspNetCore.JsonPatch 1.1.1.
Installing Microsoft.AspNetCore.Antiforgery 1.1.1.
Installing Microsoft.AspNetCore.Mvc.Razor.Host 1.1.2.
Installing Microsoft.AspNetCore.Html.Abstractions 1.1.1.
Installing Microsoft.Extensions.Localization 1.1.1.
Installing System.Reflection.Emit 4.0.1.
Installing System.Reflection.Emit.ILGeneration 4.0.1.
Installing System.Reflection.Emit.Lightweight 4.0.1.
Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.0.
Installing runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing Microsoft.Extensions.FileProviders.Composite 1.1.0.
Installing runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing System.ComponentModel.TypeConverter 4.3.0.
Installing Microsoft.Extensions.FileProviders.Abstractions 1.1.0.
Installing Microsoft.AspNetCore.Http.Abstractions 1.1.1.
Installing System.Text.Encodings.Web 4.3.0.
Installing Microsoft.AspNetCore.Http.Features 1.1.1.
Installing Microsoft.Net.Http.Headers 1.1.1.
Installing System.Diagnostics.Contracts 4.3.0.
Installing System.Collections.Specialized 4.3.0.
Installing Microsoft.AspNetCore.DataProtection.Abstractions 1.1.1.
Installing System.Globalization.Calendars 4.0.1.
Installing System.Security.Cryptography.Cng 4.2.0.
Installing System.Reflection.Metadata 1.3.0.
Installing Microsoft.Extensions.DependencyInjection 1.0.0.
Installing Microsoft.Extensions.Configuration.EnvironmentVariables 1.0.0.
Installing Microsoft.Extensions.Options 1.0.0.
Installing Microsoft.Extensions.Configuration 1.0.0.
Installing Microsoft.Extensions.Logging 1.0.0.
Installing System.Diagnostics.StackTrace 4.0.1.
Installing Microsoft.Extensions.PlatformAbstractions 1.0.0.
Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 1.0.0.
Installing Microsoft.AspNetCore.Hosting.Abstractions 1.0.0.
Installing Microsoft.AspNetCore.Http.Extensions 1.0.0.
Installing Microsoft.AspNetCore.Http 1.0.0.
Installing Microsoft.Extensions.FileProviders.Physical 1.0.0.
Installing Microsoft.Extensions.Logging.Abstractions 1.1.0.
Installing Microsoft.Extensions.Caching.Abstractions 1.1.0.
Installing Microsoft.Extensions.Options 1.1.0.
Many thanks !
Related
After over a year of not touching a Rails app, I updated all gems and tried to deploy again.
I get this error:
Installing sassc 2.0.1 with native extensions
Gem::InstallError: sassc requires Ruby version >= 2.3.3.
Using rb-inotify 0.10.0
Using mime-types 3.2.2
Using coffee-script 2.4.1
Using compass-core 1.0.3
Using compass-import-once 1.0.5
Using sdoc 1.0.0
Using slim 4.0.1
Using validates_timeliness 4.1.1
Using validates_email_format_of 1.6.3
Using activesupport 5.2.3
Using loofah 2.2.3
Using axlsx 2.1.0.pre from https://github.com/randym/axlsx.git (at c8ac844#c8ac844)
Installing mobility 0.8.7
Gem::InstallError: mobility requires Ruby version >= 2.3.7.
Using css_parser 1.7.0
An error occurred while installing sassc (2.0.1), and Bundler cannot continue.
Make sure that `gem install sassc -v '2.0.1'` succeeds before bundling.
! ERROR: Deploy failed.
-----> Cleaning up build
Unlinking current
OK
Connection to XXX closed.
! Run Error
So the Ruby version used by Mina is too old (< 2.3.7).
Interestingly, when I log into the server, I see that RVM has installed Ruby 2.4.1:
$ rvm list
rvm rubies
ruby-2.2.5 [ x86_64 ]
ruby-2.3.1 [ x86_64 ]
=* ruby-2.4.1 [ x86_64 ]
After taking a closer look at Mina's output, I see:
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
I wonder which Ruby version Mina is using? And how can I tell it to use the same version that the Rails-app uses on the server?
I'm in contact with the server support, and they are asking:
How does mina concretely work? Is this done locally or remotely on our system?
I don't know what to answer, I'm a "simple" Rails programmer with not much experience in deploying apps. It used to work perfectly a year ago, now it doesn't do anymore.
Thanks for any help.
I am facing the following issues while uploading the iOS build. The iOS version is 12.3
(Though it was working on 12.1)
Currently, it is showing an error while making the build:
Xcode version: 10.2.1 (10E1001)
Here is the plugin list I am using in my app
com.razorpay.cordova 0.16.1 "RazorpayCheckout"
cordova-android-support-gradle-release 3.0.0 "cordova-android-support-gradle-release"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-facebook4 2.5.0 "Facebook Connect"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-filechooser 1.2.0 "File Chooser"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-inappbrowser 2.0.2 "InAppBrowser"
cordova-plugin-ionic-webview 1.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-request-location-accuracy 2.3.0 "Request Location Accuracy"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlite-storage 2.6.0 "Cordova sqlite storage plugin"
cordova.plugins.diagnostic 4.0.12 "Diagnostic"
ionic-plugin-keyboard 2.2.1 "Keyboard"
Install cordova plugin add com.razorpay.cordova#1.4.5
import <Razorpay-swift.h>
In project Setting: General> Frameworks, Libraries, and Embedded Content> Razorpay.framework to Embed and Signin or Embed without Signing
I have tried to install Sass in Windows 10 with Ruby version 2.5.0-1 but i'm getting following error:
ERROR: Error installing sass:
The last version of ffi (< 2, >= 0.5.0) to support your Ruby & RubyGems was 1.9.18. Try installing it with gem install ffi -v 1.9.18 and then running the current command again
ffi requires Ruby version < 2.5, >= 2.0. The current ruby version is 2.5.0.
Windows 10
Ruby Installer - 2.5.0-1 (64 bit)
Gem version - 2.7.3
Thanks in advance.
ffi doesn't support 2.5 yet. Downgrade to 2.4.
Source: Error installing sass (Ruby 2.5.0.1, MSYS2 20161025.0.0)
I'm trying to use Travis-CI with a new Ruby on Rails project I just started a few days ago. I've tried updating Travis-CI to update rubygems in before_install but still no luck.
Gem::InstallError: rack requires Ruby version >= 2.2.2.
Installing nio4r 1.2.1
An error occurred while installing rack (2.0.1), and Bundler cannot continue.
Make sure that `gem install rack -v '2.0.1'` succeeds before bundling.
Edit your .travis.yml:
rvm:
- 2.2.2
(or whatever the latest stable is).
Here is my dependency-list:
dependencies:
browser: any
polymer: any
polymer_elements: any
angular: any
lawndart: any
validate: any
http_utils: any
And here is what I get if I say "pub upgrade"
Resolving dependencies... (42.5s)
analyzer 0.12.2 (4 newer versions available)
angular 0.9.10
args 0.9.0 (3 newer versions available)
barback 0.11.1 (2 newer versions available)
bignum 0.0.5
browser 0.9.1 (3 newer versions available)
cipher 0.6.0 (1 newer version available)
code_transformers 0.0.1-dev.2 (4 newer versions available)
collection 0.9.1
crypto 0.9.0
csslib 0.9.2
custom_element 0.10.1
di 0.0.34
event_bus 0.2.3 (1 newer version available)
fixnum 0.9.0
html5lib 0.9.2 (1 newer version available)
html_import 0.9.0
http_utils 1.2.10
intl 0.8.10+4 (9 newer versions available)
json 0.10.0
lawndart 0.6.5
logging 0.9.1+1
logging_handlers 0.8.0
matcher 0.10.0
meta 0.8.8
mock 0.10.0+1
mutation_observer 0.9.0
observe 0.10.0-pre.0 (3 newer unstable versions available)
path 1.1.0
perf_api 0.0.8
polymer 0.8.10+4 (15 newer versions available)
polymer_elements 0.0.2 (16 newer versions available)
polymer_expressions 0.9.1 (2 newer unstable versions available)
route_hierarchical 0.4.17
shadow_dom 0.9.2
smoke 0.1.0-pre.2
source_maps 0.9.0
stack_trace 0.9.3+1
template_binding 0.9.1 (2 newer unstable versions available)
unittest 0.10.1+2
unmodifiable_collection 0.9.2+1
utf 0.9.0
uuid 0.3.0
validate 1.2.4
yaml 0.9.0
polymer - 15 newer version!!!!
if I say "pub upgrade browser"
analyzer 0.12.2 (4 newer versions available)
+ analyzer_experimental 0.8.6
< angular 0.0.7 (was 0.9.10) (15 newer versions available)
args 0.9.0
barback 0.11.1
bignum 0.0.5
> browser 0.10.0+2 (was 0.9.1)
cipher 0.6.0
code_transformers 0.0.1-dev.2
collection 0.9.1
crypto 0.9.0
csslib 0.9.2
custom_element 0.10.1
di 0.0.34
event_bus 0.2.3
fixnum 0.9.0
html5lib 0.9.2
html_import 0.9.0
http_utils 1.2.10
intl 0.8.10+4
+ js 0.2.2
json 0.10.0
lawndart 0.6.5
logging 0.9.1+1
logging_handlers 0.8.0
matcher 0.10.0
meta 0.8.8
mock 0.10.0+1
mutation_observer 0.9.0
observe 0.10.0-pre.0
path 1.1.0
perf_api 0.0.8
polymer 0.8.10+4
polymer_elements 0.0.2
< polymer_expressions 0.8.10+4 (was 0.9.1) (2 newer versions available)
route_hierarchical 0.4.17
shadow_dom 0.9.2
smoke 0.1.0-pre.2
source_maps 0.9.0
stack_trace 0.9.3+1
template_binding 0.9.1
unittest 0.10.1+2
unmodifiable_collection 0.9.2+1
utf 0.9.0
uuid 0.3.0
validate 1.2.4
yaml 0.9.0
Changed 5 dependencies!
It downgrades angular!!!!!
< angular 0.0.7 (was 0.9.10) (15 newer versions available)
If I change my dependencies for browser:
dependencies:
browser: ">=0.10.0+2 <0.11.0"
Results in:
> analyzer 0.13.5 (was 0.12.2)
analyzer_experimental 0.8.6
angular 0.0.7 (15 newer versions available)
> args 0.10.0+2 (was 0.9.0)
> barback 0.12.0 (was 0.11.1) (1 newer version available)
bignum 0.0.5
browser 0.10.0+2
cipher 0.6.0 (1 newer version available)
> code_transformers 0.1.1+1 (was 0.0.1-dev.2)
collection 0.9.1
crypto 0.9.0
< di 0.0.24 (was 0.0.34) (10 newer versions available)
> event_bus 0.2.4 (was 0.2.3)
fixnum 0.9.0
> html5lib 0.10.0 (was 0.9.2)
http_utils 1.2.10
> intl 0.9.8 (was 0.8.10+4)
js 0.2.2
json 0.10.0
lawndart 0.6.5
logging 0.9.1+1
logging_handlers 0.8.0
matcher 0.10.0
meta 0.8.8
mock 0.10.0+1
> observe 0.10.0-pre.3 (was 0.10.0-pre.0)
path 1.1.0
perf_api 0.0.8
> polymer 0.10.0-pre.8 (was 0.8.10+4)
> polymer_elements 0.1.2+1 (was 0.0.2) (6 newer unstable versions available)
> polymer_expressions 0.10.0-pre.1 (was 0.8.10+4)
+ polymer_ui_elements 0.1.2 (6 newer unstable versions available)
route_hierarchical 0.4.17
smoke 0.1.0-pre.2
source_maps 0.9.0
stack_trace 0.9.3+1
> template_binding 0.10.0-pre.1 (was 0.9.1)
unittest 0.10.1+2
utf 0.9.0
uuid 0.3.0
validate 1.2.4
+ web_components 0.3.3
yaml 0.9.0
I'm using Dart 1.3.0!!! so - this is the latest version for today.
I don't know what pub upgrade is doing here but it does not manage dependencies...
Any hints?
[Update]
As a workaround I change my dependencies to
dependencies:
polymer_elements:
git: https://github.com/ErikGrimes/polymer_elements
polymer_ui_elements:
git: https://github.com/ErikGrimes/polymer_ui_elements
angular: any
# git: https://github.com/angular/angular.dart
# Incompatible version constraints on html5lib:
# - angular depends on version >=0.9.2 <0.10.0
# - polymer depends on version >=0.10.0 <0.11.0
lawndart: any
validate: any
http_utils: any
Directly linking to GitHub solves almost everything.
Except Angular!!!!
Resolving dependencies... (50.0s)
< angular 0.0.7 (was 0.9.10) (15 newer versions available)
> barback 0.12.0 (was 0.11.1) (1 newer version available)
cipher 0.6.0 (1 newer version available)
< di 0.0.24 (was 0.0.34) (10 newer versions available)
Very frustrating, it took me almost 3h to get the latest polymer version and angular is still 15 versions behind.
Here is a discussion about a similar experience
https://groups.google.com/forum/#!searchin/angular-dart/0.0.7/angular-dart/PnvkUudHulg/ZtM3Y8xH_ugJ
I guess you should add version constraints on every dependency where weird (too old) versions are fetched until pub upgrade complaints that it is not able to resolve the dependencies.
This could help to find the culprit.
The pub deps command was added in Dart 1.4 to show which package dependes on which other packages.