[ https://issues.apache.org/jira/browse/THRIFT-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862938#comment-15862938 ]
James E. King, III commented on THRIFT-4085: -------------------------------------------- I tried updating the Ubuntu docker image like this: {noformat} diff --git a/build/docker/ubuntu/Dockerfile b/build/docker/ubuntu/Dockerfile index 02f0b1e5..04ce049b 100644 --- a/build/docker/ubuntu/Dockerfile +++ b/build/docker/ubuntu/Dockerfile @@ -203,6 +203,12 @@ RUN curl -sSL http://downloads.dlang.org/releases/2.x/2.070.0/dmd_2.070.0-0_amd6 # Dart ENV PATH /usr/lib/dart/bin:$PATH +# Dotnet core (netcore) +RUN sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' && \ + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893 && \ + apt-get update && \ + apt-get install -y dotnet-dev-1.0.0-preview2-003156 + ENV THRIFT_ROOT /thrift RUN mkdir -p $THRIFT_ROOT/src COPY Dockerfile $THRIFT_ROOT/ {noformat} It builds successfully however when I try to run something like the netcore cross test client: {noformat} root@27e2611c6c7d:/thrift/src/test/netcore/ThriftTest# dotnet run client --protocol=binary --transport=buffered --port=60540 Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'ubuntu.14.04-x64'. Possible causes: 1. The project has not been restored or restore failed - run `dotnet restore` 2. The project does not list one of 'ubuntu.14.04-x64' in the 'runtimes' section. 3. You may be trying to publish a library, which is not supported. Use `dotnet pack` to distribute libraries. {noformat} I tried adding 14.04 to the list of runtimes and it failed to download from nuget. > Add .NET Core to the make cross standard test suite and docker build images > for CI > ---------------------------------------------------------------------------------- > > Key: THRIFT-4085 > URL: https://issues.apache.org/jira/browse/THRIFT-4085 > Project: Thrift > Issue Type: Improvement > Components: Test Suite > Affects Versions: 0.10.0 > Environment: Docker Images, Travis CI > Reporter: James E. King, III > Assignee: James E. King, III > > .NET Core is not included in the docker images and not part of a standard > make cross. It should be enabled and run with every build. -- This message was sent by Atlassian JIRA (v6.3.15#6346)