bump devcontainer to bookworm, add documentation

This commit is contained in:
mrbwburns
2023-11-26 20:29:02 +01:00
parent a7c3edc60e
commit b885105147
5 changed files with 37 additions and 308 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.9-slim-bullseye as development
FROM python:3.11-slim-bookworm as development
WORKDIR /app
RUN apt-get -y update && apt-get install -yqq dos2unix chromium chromium-driver \
libxi6 libgconf-2-4 python3-selenium \

View File

@@ -1,17 +1,16 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Inkycal-dev",
"build": {
"dockerfile": "Dockerfile",
"target": "development"
},
"build": {
"dockerfile": "Dockerfile",
"target": "development"
},
// This is the settings.json mount
"mounts": ["source=/c/temp/settings_test.json,target=/boot/settings.json,type=bind,consistency=cached"],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "chmod +x ./.devcontainer/postCreate.sh && ./.devcontainer/postCreate.sh",
"postCreateCommand": "dos2unix ./.devcontainer/postCreate.sh && chmod +x ./.devcontainer/postCreate.sh && ./.devcontainer/postCreate.sh",
"customizations": {
"vscode": {