Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 5a4dd99

Browse files
committed
Adding django repo dev container
1 parent 9a71d5c commit 5a4dd99

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#-----------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See LICENSE in the project root for license information.
4+
#-----------------------------------------------------------------------------------------
5+
6+
FROM python:3
7+
8+
# Install git
9+
RUN apt-get update && apt-get -y install git
10+
11+
# Install node
12+
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
13+
RUN apt-get install -y nodejs
14+
15+
# Install dev tools
16+
RUN pip install closure
17+
RUN npm install -g jshint
18+
19+
# Clean up
20+
RUN apt-get autoremove -y \
21+
&& apt-get clean -y \
22+
&& rm -rf /var/lib/apt/lists/*
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "Django",
3+
"dockerFile": "Dockerfile",
4+
"extensions": [
5+
"dbaeumer.jshint",
6+
"EditorConfig.EditorConfig",
7+
"ms-python.python"
8+
]
9+
}

0 commit comments

Comments
 (0)