Skip to content

Commit

Permalink
Add --os-type Linux (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasohlund authored Dec 4, 2024
1 parent b87f490 commit a7ed5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ elseif ($runnerOs -eq "Windows") {
Write-Output "Creating the file share"
az storage share create --account-name $StorageName --name $StorageName --account-key $storageAccountKey | Out-Null

$azureContainerCreate = "az container create --image $dockerImage --name $ContainerName --location $region --resource-group $resourceGroup --cpu 4 --memory 8 --ports $port --ip-address public --environment-variables ORACLE_PASSWORD=$oraclePassword --azure-file-volume-share-name $StorageName --azure-file-volume-account-name $StorageName --azure-file-volume-account-key $storageAccountKey --azure-file-volume-mount-path $mountPath"
$azureContainerCreate = "az container create --image $dockerImage --name $ContainerName --location $region --resource-group $resourceGroup --cpu 4 --memory 8 --ports $port --os-type Linux --ip-address public --environment-variables ORACLE_PASSWORD=$oraclePassword --azure-file-volume-share-name $StorageName --azure-file-volume-account-name $StorageName --azure-file-volume-account-key $storageAccountKey --azure-file-volume-mount-path $mountPath"
if ($registryUser -and $registryPass) {
echo "Creating container with login to $RegistryLoginServer"
$azureContainerCreate = "$azureContainerCreate --registry-login-server $RegistryLoginServer --registry-username $RegistryUser --registry-password $RegistryPass"
Expand Down

0 comments on commit a7ed5c6

Please sign in to comment.