Skip to content

tkambler/vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode

This Docker image extends the base image provided by coder.com. It includes a number of applications, utilities, and VSCode extensions that I find myself frequently using. Fork and alter as needed.

It comes with the following applications / libraries pre-installed on Ubuntu 18.04.1 LTS:

VSCode has been pre-configured with the following extensions:

  • Docker
  • GitLens
  • Log Viewer
  • .editorconfig
  • Prettier
  • npm
  • PHP debugger
  • GraphQL for VSCode
  • YAML
  • VSCode Icons / Material Theme

Quick Start

docker run -p "127.0.0.1:8443:8443" --rm tkambler/code-server:latest

Building the Image

Clone and run:

make

Pre-configuring VSCode with Your Preferred Settings / Extensions

- Build the image and start a new container instance.
- Make the necessary changes using VSCode's interface.
- Copy the contents of the container's `/home/coder/.local` folder to `./files/vscode-local`.
- Stop the container and re-build the image.

Starting a Container

docker run -p "127.0.0.1:8443:8443" --rm tkambler/code-server:latest

Mounting a Folder into the Workspace

docker run -p "127.0.0.1:8443:8443" --rm -v $(pwd):/home/coder/project tkambler/code-server:latest