LM-Development / aks-sample

Community project providing an undeprecated Microsoft Teams bot sample that runs on Azure Kubernetes Service
https://github.com/LM-Development/aks-sample/tree/main/Samples/PublicSamples/RecordingBot
MIT License
1 stars 0 forks source link

Docker image build errors #51

Closed osamabinsaleem closed 1 month ago

osamabinsaleem commented 3 months ago

I'm trying to build the docker image using this command:

docker build `
>>     --build-arg CallSignalingPort=<CALL_SIGNALING_PORT> `
>>     --build-arg CallSignalingPort2=<CALL_SIGNALING_PORT+1> `
>>     --build-arg InstanceInternalPort=<INSTANT_INTERNAL_PORT> `
>>     -f ./build/Dockerfile . `
>>     -t latest

I'm getting this error:

Screenshot 2024-03-14 at 6 04 36 PM
1fabi0 commented 3 months ago

Make sure the system you build the image on is a windows x64 System, seems like you're platform is not windows/x64 I don't have any other explenation for this issue out of the blue, https://hub.docker.com/_/microsoft-windows-server

osamabinsaleem commented 3 months ago

I'm gonna try this on a new machine now but I'm pretty sure the issue that I got was on a i3 intel based laptop with windows 10 installed on it

1fabi0 commented 1 month ago

@osamabinsaleem Hi, I just merged a tutorial, how to deploy the applciation to a new AKS cluster, there we don't use the local machine to build the docker image, maybe check out the tutorial to deploy the sample

osamabinsaleem commented 1 month ago

Hi @1fabi0 Can this be done on windows 10, or having windows 11 is a must?

1fabi0 commented 1 month ago

Hi @osamabinsaleem To create this tutorial I used a Windows 11 machine but it should work fine on a windows 10 machine(maybe this also was your docker building problem but in the tutorial we build the docker image in the ACR). If you experience any problems with windows 10 please mention them here maybe we can make the tutorial windows 10 safe.

osamabinsaleem commented 1 month ago

Thanks @1fabi0 I've upgrated to windows 11.