Skip to content

Instantly share code, notes, and snippets.

@miaoski
Created January 18, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miaoski/53f16a73f7a09dc2ded7 to your computer and use it in GitHub Desktop.
Save miaoski/53f16a73f7a09dc2ded7 to your computer and use it in GitHub Desktop.
Dockerfile of moedict-webkit
#
# 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