document-generation-solution-accelerator icon indicating copy to clipboard operation
document-generation-solution-accelerator copied to clipboard

enhance devcontainer.json for prebuilds, az installs

Open nitya opened this issue 9 months ago • 3 comments

Is your feature request related to this sample app, or to an Azure service, such as Azure OpenAI or Azure AI Search? Describe the scope of your request. This forum is focused on features relating to this sample app and its functionality, not the functionality of underlying Azure services.

Yes, related to this sample.

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when

Using GitHub Codespaces to launch takes a long time. We also get the documented issue on "az" needing to be updated manually sometimes. Both these should be easy to resolve with devcontainers config.

Describe the solution you'd like A clear and concise description of what you want to happen.

We should enable prebuilds on the devcontainer for speedup. We should have the curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash command run post-create by default in the prebuild, so the container is always setup right.

Is this feature specific to your use case or your organization, or would it apply broadly across other uses of this app? Describe how you and others might leverage this feature.

Will apply broadly to anyone who takes the devcontainers route to explore sample

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Alternative is to (a) wait for non-prebuilds, and (b) do installs manually Both take up valuable time especially in time-constrained lab environments.

Additional context Add any other context or screenshots about the feature request here.

nitya avatar Mar 26 '25 18:03 nitya

Hi @nitya - We have added this script as part of pre-build in the dev container as part of #336

Please check and confirm.

Roopan-Microsoft avatar Apr 02 '25 17:04 Roopan-Microsoft

@Roopan-Microsoft just getting a chance to revisit this - clicked the Codespaces button in README and went to default launch page - checking the drop-down it looks like prebuilds are not yet active.

Image

nitya avatar Apr 05 '25 18:04 nitya

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment, or it will be closed in 30 days.

github-actions[bot] avatar Nov 17 '25 02:11 github-actions[bot]