This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
containers/azure-blockchain/.devcontainer Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 3
3
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4
4
# -------------------------------------------------------------------------------------------------------------
5
5
6
- FROM node:lts
6
+ FROM python:2.7
7
7
8
8
# Configure apt
9
9
ENV DEBIAN_FRONTEND=noninteractive
@@ -13,6 +13,10 @@ RUN apt-get update \
13
13
# Install git, process tools
14
14
RUN apt-get -y install git procps
15
15
16
+ # Install nodejs
17
+ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
18
+ && apt-get install -y nodejs
19
+
16
20
# Install Truffle Suite
17
21
RUN npm i --unsafe-perm -g truffle
18
22
@@ -25,15 +29,6 @@ RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \
25
29
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
26
30
&& apt-get update \
27
31
&& apt-get install -y azure-cli
28
-
29
- # Install Python 2.7.15
30
- RUN apt-get install -y build-essential \
31
- && curl https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz --output Python-2.7.15.tgz \
32
- && tar -xvf Python-2.7.15.tgz \
33
- && rm Python-2.7.15.tgz \
34
- && cd Python-2.7.15 \
35
- && ./configure --enable-optimizations \
36
- && make install
37
32
38
33
# Clean up
39
34
RUN apt-get autoremove -y \
You can’t perform that action at this time.
0 commit comments