Welcome! Glad you found this page. To build and run both C++ and C# projects
ensure you have docker installed, then type make
.
make
This will build each application into a unique Docker image, then run each executable in a container.
For troubleshooting please try the commands below:
docker build -t scg_cpp -f cpp_project/Dockerfile_cpp .
docker run -it scg_cpp
docker build -t scg_csharp -f csharp_project/Dockerfile_csharp .
docker run -it scg_csharp
Successful output will appear as below:
docker run -it scg_cpp
Attempting to read pb file...
{
"Notes": "Hello From SCG",
"Timestamp": "2022-05-04T20:06:47.526958900Z"
}
docker run -it scg_csharp
{"Timestamp":{"Seconds":1651694807,"Nanos":526958900},"Notes":"Hello From SCG"}