Public Repository

Last pushed: 2 years ago
Short Description
Linux with Oracle JDK 7, Maven, NodeJS, Grunt and SASS
Full Description

This image has enough to build Harmony back-end and front-end

Dockerfile for building this image

#
#  Image with JDK 7, Maven, Jetty, NodeJS, Grunt, Ruby, SASS and Compass
#  for building and deploying Harmony (both back-end and front-end)
#
FROM dockerfile/java:oracle-java7

MAINTAINER esharapov@infusion.com

# update packages and install building tools, maven, ruby
RUN export DEBIAN_FRONTEND=noninteractive && sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && apt-get update && apt-get -y upgrade && apt-get install -y vim build-essential python wget curl maven ruby

##################################################
# install NodeJS and Grunt
##################################################
# Building and Installing Node.js
RUN cd /tmp && wget http://nodejs.org/dist/node-latest.tar.gz && tar xvzf node-latest.tar.gz && rm -f node-latest.tar.gz && cd node-v* && ./configure && CXX="g++ -Wno-unused-local-typedefs" make && CXX="g++ -Wno-unused-local-typedefs" make install && cd /tmp && rm -rf /tmp/node-v* && echo '\n# Node.js\nexport PATH="node_modules/.bin:$PATH"' >> /root/.bashrc

# Install Grunt
RUN npm install -g grunt-cli

##################################################
# Install SASS
##################################################
RUN gem install sass

##################################################
# Clean Up
##################################################
RUN apt-get remove -y build-essential python && rm -rf /var/lib/apt/lists/*
Docker Pull Command
Owner
evgeniysharapov

Comments (0)