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

Commit

Permalink
Container is now based on the Python:2.7 image
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Jun 11, 2019
1 parent 599e938 commit 4819e6e
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions containers/azure-blockchain/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM node:lts
FROM python:2.7

# Configure apt
ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -13,6 +13,10 @@ RUN apt-get update \
# Install git, process tools
RUN apt-get -y install git procps

# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs

# Install Truffle Suite
RUN npm i --unsafe-perm -g truffle

Expand All @@ -25,15 +29,6 @@ RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \
&& curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \
&& apt-get update \
&& apt-get install -y azure-cli

# Install Python 2.7.15
RUN apt-get install -y build-essential \
&& curl https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz --output Python-2.7.15.tgz \
&& tar -xvf Python-2.7.15.tgz \
&& rm Python-2.7.15.tgz \
&& cd Python-2.7.15 \
&& ./configure --enable-optimizations \
&& make install

# Clean up
RUN apt-get autoremove -y \
Expand Down

0 comments on commit 4819e6e

Please sign in to comment.