chore: bunch of devcontainer and devops stuff
This commit is contained in:
parent
d93a9b57e9
commit
1a6baa4ee4
8 changed files with 470 additions and 378 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue