From a8bb62dcf30a2fbf7dd8ce7feb1958fc30a43e8a Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 25 Jan 2025 14:39:24 -0500 Subject: [PATCH] fix(devcontainer): ensure pip is installed in the devcontainer 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! --- .devcontainer/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 19d07ab..c08c396 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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