Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microservice example fails to build #2676

Closed
ktmitton opened this issue Nov 24, 2021 · 0 comments · Fixed by #2677
Closed

Microservice example fails to build #2676

ktmitton opened this issue Nov 24, 2021 · 0 comments · Fixed by #2677
Labels
bug Something isn't working

Comments

@ktmitton
Copy link
Contributor

Bug Report

Symptom

When trying to run the microservice example, the docker builds fail.

What is the expected behavior?

The docker-compose.yml file in the folder will build and start up containers for all four images.

What is the actual behavWhat did you see instead?ior?

The zipkin and rabbitmq images were pulled, but builds of webapi and workerservice would fail, stopping the process.

Reproduce

Starting at the root of the repo, run the following commands:

  1. git checkout master
  2. cd ./examples/MicroserviceExample/
  3. docker-compose up --build

Additional Context

It looks like this started with #2599, if you pull the commit on #2591 then it works again. #2599 updated some of the dependencies to c# 10, and since the example gets built inside a netcore 3.1 container, there's a compatibility issue. I'll submit a PR to update the microservice example to net 6.0. Given the nature of the two projects, I'm hoping this won't be an issue, the actual target framework doesn't seem the focus of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant