Python tool for converting files and office documents to Markdown.
feat: enable Git support in devcontainer (#136)
numekudif94d09990ef6
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonindex f12fbcb3..e13e299d 100644--- a/.devcontainer/devcontainer.json+++ b/.devcontainer/devcontainer.json@@ -6,7 +6,10 @@// Sets the run context to one level up instead of the .devcontainer folder."context": "..",// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.- "dockerfile": "../Dockerfile"+ "dockerfile": "../Dockerfile",+ "args": {+ "INSTALL_GIT": "true"+ }},// Features to add to the dev container. More info: https://containers.dev/features.diff --git a/Dockerfile b/Dockerfileindex f9c0bef0..0072d9e3 100644--- a/Dockerfile+++ b/Dockerfile@@ -2,10 +2,15 @@ FROM python:3.13-slim-bullseyeUSER root+ARG INSTALL_GIT=false+RUN if [ "$INSTALL_GIT" = "true" ]; then \+ apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*; \+ fi+# Runtime dependencyRUN apt-get update && apt-get install -y --no-install-recommends \ffmpeg \- && rm -rf /var/lib/apt/lists/*+ && rm -rf /var/lib/apt/lists/*RUN pip install markitdown