2022-01-01 08:44:57 +03:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
|
|
|
# Note:
|
|
|
|
# This is run during container startup.
|
|
|
|
|
|
|
|
# Install Python packages
|
|
|
|
pip install -r requirements-docs.txt
|
|
|
|
|
|
|
|
# Restore .NET packages
|
|
|
|
dotnet restore
|
2024-03-15 19:57:46 +03:00
|
|
|
|
|
|
|
# Fetch the latest Bicep CLI binary
|
|
|
|
curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
|
|
|
|
# Mark it as executable
|
|
|
|
chmod +x ./bicep
|
|
|
|
# Add bicep to your PATH (requires admin)
|
|
|
|
sudo mv ./bicep /usr/local/bin/bicep
|
|
|
|
# Verify you can now access the 'bicep' command
|
|
|
|
bicep --version
|
|
|
|
# Done!
|