mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-26 01:43:17 +08:00
Fix devcontainer build failure (#12837)
* add post-installation script * set zsh as default terminal and make post-install execution on postcreate * rename file * rename script * Create devcontainers_ci.yml * Update devcontainer.json * Update devcontainers_ci.yml Never push image built here. It's for build testing purpose only. * postCreateCommand update to reflect that the shell script has been renamed. * update devcontainer readme file * trigger workflow only on devcontainer/** changes * prettier refactor
This commit is contained in:
@ -3,6 +3,5 @@ ARG VARIANT=3.13-bookworm
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
|
||||
COPY requirements.txt /tmp/pip-tmp/
|
||||
RUN python3 -m pip install --upgrade pip \
|
||||
&& python3 -m pip install --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
|
||||
&& pipx install pre-commit ruff \
|
||||
&& pre-commit install
|
||||
&& python3 -m pip install --no-cache-dir -r /tmp/pip-tmp/requirements.txt \
|
||||
&& pipx install pre-commit ruff
|
||||
|
Reference in New Issue
Block a user