This commit is contained in:
thosakwe 2017-01-14 19:52:41 -05:00
parent 50fdd0af29
commit d3e78082f8

View file

@ -1,14 +1,14 @@
FROM ubuntu:14.04 FROM ubuntu:14.04
MAINTAINER Tobe O <thosakwe@gmail.com> MAINTAINER Tobe O <thosakwe@gmail.com>
# Install Dart SDK 1.21 # Install Dart SDK 1.21.0
RUN sudo apt-get update RUN sudo apt-get update
RUN sudo apt-get install -y apt-transport-https RUN sudo apt-get install -y apt-transport-https
RUN sudo apt-get install -y curl RUN sudo apt-get install -y curl
RUN sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' RUN sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
RUN sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' RUN sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
RUN sudo apt-get update RUN sudo apt-get update
RUN sudo apt-get install -y dart=1.21.* RUN sudo apt-get install -y dart=1.21.0
RUN export PATH="/usr/lib/dart/bin:$PATH" RUN export PATH="/usr/lib/dart/bin:$PATH"
# Copy necessary files # Copy necessary files