Created
January 18, 2015 04:59
-
-
Save miaoski/53f16a73f7a09dc2ded7 to your computer and use it in GitHub Desktop.
Dockerfile of moedict-webkit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment