fix(devcontainer): ensure pip is installed in the devcontainer
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 37s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s

this is being done because Red-DiscordBot requires pip to be installed to function, but does not declare it as a dependency. this is only a problem when uv is being used to install dependencies in an environment where pip is not present. so, we ensure pip is present!
This commit is contained in:
cswimr 2025-01-25 14:39:24 -05:00
parent d910b0f4e1
commit a8bb62dcf3
Signed by: CoastalCommits
GPG key ID: 7E73189F651A553F

View file

@ -31,4 +31,5 @@ COPY --from=uv --chown=vscode: /uv /uvx /bin/
COPY --from=python --chown=vscode: /usr/local /usr/local
RUN ln -s /usr/local/bin/python3.11 /usr/local/bin/python; \
python --version
python --version; \
python -m ensurepip