cds-snc / covid-alert-server

Exposure Notification: Diagnosis Server implementation / Notification d’exposition : Mise en œuvre du serveur de diagnostic
Apache License 2.0
298 stars 31 forks source link

Fix DevContainers on Windows Machines #406

Closed CalvinRodo closed 3 years ago

CalvinRodo commented 3 years ago

The current Visual Studio Remote Containers extension doesn't work out of the box on Windows.

When running make an error about not being able to find a protoc --protoc-gen-go plugin is displayed.

A workaround is available by running the following commands in the Shell in the dev environment will fix the issue but a more permanent fix is required.

export GOPATH=$(go env GOPATH)
export PATH=$PATH:$GOPATH/bin

I'm leaving this as wontfix for now as CDS dev machines are Macbooks and it does run in a Linux VM.

CalvinRodo commented 3 years ago

See workaround