Skip to content

Dockerfile for Ubuntu16.04

doronshai edited this page Feb 16, 2017 · 1 revision
FROM ubuntu:16.04

RUN apt-get -yy update && apt-get -yy upgrade
RUN apt-get update && apt-get install -yy gem npm git wget lsb-release sudo maven default-jdk

RUN npm install bower ember-cli

ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
ENV PATH $PATH:$JAVA_HOME/bin

RUN echo "mysql-server-5.7 mysql-server/root_password password 1" | debconf-set-selections
RUN echo "mysql-server-5.7 mysql-server/root_password_again password 1" | debconf-set-selections
RUN apt-get update && apt-get -qq install mysql-server

VOLUME /mnt/xxx

WORKDIR /mnt/xxx