Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

DevContainer

The current devcontainer was build and tested on Windows 10 with Docker for Windows with WSL2 support enabled. In general in this setting it is recommended to place the repo under WSL2 file system.

The current devcontainer won't build and/or run correctly if the repo is cloned under the Windows filesystem.

Prerequisites

  • Docker CE or Docker for Windows
  • In case Docker for Windows repo needs to be cloned within WSL2 file system
  • Git
  • Visual Studio Code
  • Visual Studio Code Extension ms-vscode-remote.remote-containers
  • Personal SSH key

Setup

  • Clone the repo (within WSL2 file system)
  • Open the folder in vscode
  • Reopen in Container [SHIFT+CTRL+P] >Remote-Containers: Rebuild and Reopen in Container

Features

  • Using non-root user
  • local machine Linux/WSL user's ~/.ssh folder is mounted so Personal SSH keys can be used
  • Docker CLI in container will use local machine's docker service (images pulled or created are persisted on local machine's storage)
  • Conda environment with dev_dependencies.yml is pre-activated
  • Azure CLI
  • Python Extension, including linting (flake8) and testing (pytest) setup and ready to use
  • Life Share Extension for pair programming