Building VS Code Extensions in Docker Containers

Posted on Fri 23 February 2018 in Editors • 3 min read

TL;DR:

  • VS Code is an editor that allows you to write and share custom extensions.

  • These extensions require Node.js and npm installed, which you might not want to install locally - especially given recent, scary issues.

  • Instead, using the Dockerfile and commands below, you can build extensions inside a Docker container and still test and run them inside the VS Code installation on the same machine without Node installed.

Background

I’ve been using …


Continue reading

Docker Container for a simple Flask App

Posted on Wed 01 March 2017 in Containers • 3 min read

Continuing the recent microservices trend, I tried to containerise a previous project, a small REST datastore - microstore.

I’m not going to go into detail on what containers are (not least because I don’t think I could!) - but briefly they are a way to package up an app and it’s dependencies so they can be run in their own mini-environment. The best intro is just to follow the tutorial here.

Creating the Container …


Continue reading