Public Repository

Last pushed: 2 years ago
Short Description
Dockerfile
Full Description

FROM ubuntu:14.04.1
MAINTAINER Patrick Arleth

EXPOSE 3000:3000

RUN adduser --quiet --disabled-password --gecos "" --home /home/yo yo

RUN DEBIAN_FRONTEND=noninteractive apt-get update

RUN DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes python build-essential

RUN add-apt-repository ppa:chris-lea/node.js
RUN add-apt-repository -y ppa:webupd8team/java

RUN DEBIAN_FRONTEND=noninteractive apt-get update

#auto accept the oracle java license for 'silent' install mode
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections

#install java 7
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install oracle-java7-installer

RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion perl emacs24-nox

install dependencies

RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes nodejs
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libjpeg-turbo-progs
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libfreetype6 libfontconfig

see https://github.com/npm/npm/issues/4377#issuecomment-31252532

RUN DEBIAN_FRONTEND=noninteractive npm -g install yo coffee-script

Append to $PATH variable.

RUN echo '\n# Node.js\nexport PATH="node_modules/.bin:$PATH"' >> /root/.bash_profile

ruby (sass/compass)

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y ruby1.9.1-dev
RUN gem install sass
RUN gem install compass

RUN DEBIAN_FRONTEND=noninteractive npm -g install grunt-cli
RUN DEBIAN_FRONTEND=noninteractive npm -g install generator-angular
RUN DEBIAN_FRONTEND=noninteractive npm -g install phantomjs

WORKDIR /home/yo

CMD ["/bin/bash", "-c", "hello world"]

Docker Pull Command
Owner
patarleth