Skip to content
Permalink
Browse files

Add to vscode devcontainer.

  • Loading branch information...
Ian Purton
Ian Purton committed Jun 11, 2019
1 parent fc98b66 commit 90b1da8cc889820a85e0251a7670c7aa370a6002
Showing with 49 additions and 0 deletions.
  1. +15 −0 .devcontainer/Dockerfile
  2. +34 −0 .devcontainer/devcontainer.json
@@ -0,0 +1,15 @@
FROM crystallang/crystal:0.27.0

RUN apt-get update \
&& apt-get install -y software-properties-common

RUN add-apt-repository ppa:deadsnakes/ppa

RUN apt-get update \
&& apt-get install -y python3.7

RUN rm /usr/bin/python3

RUN ln -s /usr/bin/python3.7 /usr/bin/python3

ENV SHELL /bin/bash
@@ -0,0 +1,34 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
"name": "Paper Wallet Spender",

// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",

// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile",

// The optional 'runArgs' property can be used to specify additional runtime arguments.
"runArgs": [
// Uncomment the next line if you want to use Docker from the container. See the docker-in-docker definition for details.
// "-v","/var/run/docker.sock:/var/run/docker.sock",

// Uncomment the next line if you will be using a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line if you want to add in default container specific settings.json values
// "settings": { "workbench.colorTheme": "Quiet Light" },

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Add the IDs of any extensions you want installed in the array below.
"extensions": [
"faustinoaq.crystal-lang"
]
}

0 comments on commit 90b1da8

Please sign in to comment.
You can’t perform that action at this time.