chore: bunch of devcontainer and devops stuff
Some checks failed
Actions / Build Documentation (MkDocs) (push) Failing after 8s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 10s
Actions / Build (push) Successful in 12s

This commit is contained in:
cswimr 2025-01-29 11:39:23 +00:00
parent d93a9b57e9
commit 1a6baa4ee4
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
8 changed files with 470 additions and 378 deletions

View file

@ -6,6 +6,19 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:bookworm@sha256:6155a486f236fd5
LABEL repository="www.coastalcommits.com/cswimr/PyZipline"
LABEL maintainer="cswimr <seaswimmerthefsh@gmail.com>"
RUN apt-get update; \
apt-get install -y --no-install-recommends \
# MkDocs Social dependencies
libcairo2-dev \
libfreetype6-dev \
libffi-dev \
libjpeg-dev \
libpng-dev \
libz-d \
pngquant; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*
COPY --from=uv --chown=vscode: /uv /uvx /bin/
COPY --from=python --chown=vscode: /usr/local /usr/local
COPY --from=forgejo-runner --chown=vscode: /bin/forgejo-runner /bin/forgejo-runner

View file

@ -8,6 +8,16 @@
},
"customizations": {
"vscode": {
"settings": {
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh"
}
}
},
"extensions": [
"charliermarsh.ruff",
"ms-python.python",
@ -32,6 +42,6 @@
"UV_PYTHON_DOWNLOADS": "never",
"PROJECT_DIR": "/workspaces/${localWorkspaceFolderBasename}"
},
"postCreateCommand": "uv sync --frozen",
"postCreateCommand": "uv sync --frozen --group=docs",
"remoteUser": "vscode"
}