Skip to content

Commit

Permalink
initial windows support (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
titom73 authored Apr 26, 2021
1 parent 421c80e commit fe0f3a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ARG VARIANT="3.6"
FROM avdteam/base:${VARIANT}

WORKDIR /workspace
VOLUME ["/workspace"]

USER avd
RUN rm -f /home/avd/.gitconfig
17 changes: 10 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"dockerComposeFile": [
"../development/docker-compose.yml",
],
"postStartCommand": ["sudo", "chmod", "666", "/var/run/docker.sock"],
"name": "AVD Development",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick Python version of AVD runner: 3.6, 3.7, 3.8
"args": { "VARIANT": "3.6" },
},
"remoteUser": "avd",
"service": "ansible",
"workspaceFolder": "/projects/",
"updateRemoteUserUID": true,
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspace,type=bind,consistency=delegated",
"workspaceFolder": "/workspace",
"extensions": [
"christian-kohler.path-intellisense",
"codezombiech.gitignore",
Expand Down Expand Up @@ -36,7 +39,7 @@
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.analysis.extraPaths": [
"/projects/"
"/workspace/"
],
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
Expand Down

0 comments on commit fe0f3a8

Please sign in to comment.