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

Commit 4819e6e

Browse files
committed
Container is now based on the Python:2.7 image
1 parent 599e938 commit 4819e6e

File tree

1 file changed

+5
-10
lines changed
  • containers/azure-blockchain/.devcontainer

1 file changed

+5
-10
lines changed

containers/azure-blockchain/.devcontainer/Dockerfile

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
44
#-------------------------------------------------------------------------------------------------------------
55

6-
FROM node:lts
6+
FROM python:2.7
77

88
# Configure apt
99
ENV DEBIAN_FRONTEND=noninteractive
@@ -13,6 +13,10 @@ RUN apt-get update \
1313
# Install git, process tools
1414
RUN apt-get -y install git procps
1515

16+
# Install nodejs
17+
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
18+
&& apt-get install -y nodejs
19+
1620
# Install Truffle Suite
1721
RUN npm i --unsafe-perm -g truffle
1822

@@ -25,15 +29,6 @@ RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \
2529
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
2630
&& apt-get update \
2731
&& 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
3732

3833
# Clean up
3934
RUN apt-get autoremove -y \

0 commit comments

Comments
 (0)