Python icon indicating copy to clipboard operation
Python copied to clipboard

DevContainer setup fails

Open prak74 opened this issue 1 year ago • 2 comments

Repository commit

3cd92013abece2cc4ea31ab81075852da4134519

Python version (python --version)

Python 3.12

Dependencies version (pip freeze)

N/A

Expected behavior

DevContainer should build successfully

Actual behavior

Devcontainer build fails with the following error

image

prak74 avatar Oct 06 '24 07:10 prak74

I found the error in Dockerfile image

Line 6 has 2 install keywords resulting in pip trying to install "install", giving the following error. Removing the additional install and adding git init before line 5 (pre-commit only works inside git repo) fixes the container build.

I'll open a PR for the same.

prak74 avatar Oct 06 '24 07:10 prak74

PR seems to be closed due to only accepted submissions being Python files, can anyone re-open and merge? Link to PR: #11813

prak74 avatar Oct 06 '24 07:10 prak74