# # Dockerfile to build miaoski/moedict_amis:0.1 # FROM ubuntu:14.04.1 MAINTAINER miaoski RUN apt-get update RUN apt-get install -y git RUN apt-get install -y tree RUN apt-get install -y vim RUN apt-get install -y screen RUN apt-get install -y curl RUN apt-get install -y build-essential RUN apt-get install -y g++ RUN apt-get install -y python perl ruby RUN apt-get install -y python-software-properties RUN apt-get install -y software-properties-common RUN apt-get install -y python-lxml RUN apt-get install -y unzip RUN add-apt-repository -y ppa:chris-lea/node.js RUN apt-get update RUN apt-get install -y nodejs python-lxml curl RUN npm install -g LiveScript jade # Switch locale RUN locale-gen zh_TW.UTF-8 # Copy script to build from GitHub WORKDIR /usr/local/src RUN git clone https://github.com/audreyt/moedict-webkit.git WORKDIR /usr/local/moedict-webkit RUN npm install webworker-threads RUN apt-get install ruby-sass ruby-compass # Copy bashrc ADD bashrc /root/.bashrc EXPOSE 8888:8888