Azure / Azure/vscode-aks-tools

"Automated Deployments: Draft a Dockerfile" Page freezes when creating python program dockerfile

Open
#944 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
65
Forks
78
Avg merge
2d 16h
Merged PRs (30d)
22

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Create any dockerfile for a python program.

Reason for bug:
![Screenshot 2024-09-23 at 3 22 08 PM](https://github.com/user-attachments/assets/606c98f6-df69-4de3-8cf8-71a9a7310041)

Page is freezing because the draft binary is waiting for user input. Draft has functionality to autodetect the entrypoint for python application but its cli requires user input to confirm the default entrypoint.

I've communicated with @davidgamero who said it might be useful to have a flag on the draft side to prevent additional dialog and use the default options to facilitate non cli interactions.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the automated deployment Dockerfile flow and the Draft binary invocation, then reproduce generation for a Python program to confirm where input is awaited. Done means Dockerfile creation completes without freezing and uses the default entrypoint without an interactive prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, docker, kubernetes, python, typescript
Domain
cloud, devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.