Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .devcontainer/presidio-analyzer-transformers/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@
"POETRY_EXTRAS": "-E transformers"
}
},
"workspaceMount": "source=${localWorkspaceFolder}/presidio-analyzer,target=/workspace,type=bind",
"workspaceFolder": "/workspace",
"postCreateCommand": "chmod +x ./install_dependencies.sh && ./install_dependencies.sh",
"postAttachCommand": "poetry shell",
"workspaceMount": "source=${localWorkspaceFolder}/presidio-analyzer,target=/workspace,type=bind",
"workspaceFolder": "/workspace",
"postCreateCommand": "chmod +x ./install_dependencies.sh && ./install_dependencies.sh",
"customizations": {
"extensions": [
"ms-python.python",
],
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
}
}
}
}
13 changes: 9 additions & 4 deletions .devcontainer/presidio-analyzer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@
},
"workspaceMount": "source=${localWorkspaceFolder}/presidio-analyzer,target=/workspace,type=bind",
"workspaceFolder": "/workspace",
"postAttachCommand": "chmod +x ./install_dependencies.sh && ./install_dependencies.sh && poetry shell",
"postAttachCommand": "chmod +x ./install_dependencies.sh && ./install_dependencies.sh",
"customizations": {
"extensions": [
"ms-python.python",
],
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
}
}
}
}
12 changes: 8 additions & 4 deletions .devcontainer/presidio-anonymizer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@
"install",
"--no-interaction"
],
"postAttachCommand": "poetry shell",
"customizations": {
"extensions": [
"ms-python.python",
],
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
}
}
}
}
12 changes: 8 additions & 4 deletions .devcontainer/presidio-image-redactor/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@
"install",
"--no-interaction"
],
"postAttachCommand": "poetry shell",
"customizations": {
"extensions": [
"ms-python.python",
],
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
}
}
}
}
5 changes: 0 additions & 5 deletions presidio-analyzer/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,3 @@ RUN apt-get update \
&& apt-get install -y build-essential

RUN pip install poetry

# Create a non-root user for development
RUN useradd -m -u 1001 presidio

USER 1001
5 changes: 0 additions & 5 deletions presidio-anonymizer/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,3 @@ RUN apt-get update \
&& apt-get install -y build-essential

RUN pip install poetry

# Create a non-root user for development
RUN useradd -m -u 1001 presidio

USER 1001
7 changes: 1 addition & 6 deletions presidio-image-redactor/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,4 @@ RUN apt-get update \
RUN apt-get update \
&& apt-get install ffmpeg libsm6 libxext6 -y

RUN pip install poetry

# Create a non-root user for development
RUN useradd -m -u 1001 presidio

USER 1001
RUN pip install poetry