Skip to content

Commit

Permalink
chore: .NET, SPX and OpenSSL v1 needed
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Feb 14, 2024
1 parent fee87f8 commit fc52e48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"postCreateCommand": "./.devcontainer/post-create.sh",
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/home/vscode/.dotnet/tools"
"PATH": "${containerEnv:PATH}:/home/vscode/.dotnet/tools",
"SSL_CERT_DIR": "/etc/ssl/certs"
}
}
13 changes: 11 additions & 2 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#!/bin/bash

# Build and install OpenSSL 1.1.1u
wget -O - https://www.openssl.org/source/openssl-1.1.1u.tar.gz | tar zxf -
cd openssl-1.1.1u
./config --prefix=/usr/local
make -j $(nproc)
sudo make install_sw install_ssldirs
sudo ldconfig
cd .. && sudo rm -R openssl-1.1.1u

# Install .NET 6.0 SDK and the Speech CLI tool
# sudo apt-get update && sudo apt-get install -y dotnet-sdk-6.0
# dotnet tool install --global Microsoft.CognitiveServices.Speech.CLI
sudo apt-get update && sudo apt-get install -y dotnet-sdk-6.0
dotnet tool install --global Microsoft.CognitiveServices.Speech.CLI

# Install the Azure Speech SDK for Python
python -m pip install azure-cognitiveservices-speech

0 comments on commit fc52e48

Please sign in to comment.