-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
64 lines (47 loc) · 1.5 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
FROM ubuntu:16.04
LABEL version="0.3" \
os="Ubuntu 16.04" \
description="Build tools including Apache Ant, ruby gems, yarn, npm, gulp, bower, gulp and grunt." \
maintainers="Antonis Pavlakis <[email protected]>"
RUN apt-get update
#######################
# Install Node & NPM #
#######################
RUN apt-get install python-software-properties -y \
&& apt-get install curl -y \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install nodejs -y
RUN npm install --silent -g \
gulp-cli \
grunt-cli \
gulp \
bower \
markdown-styles \
yarn
#######################
# Install Apache Ant #
#######################
RUN apt-get install ant -y \
&& apt-get install openjdk-8-jdk -y
# Set environment variable for JAVA
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
#######################
# Add default locale #
#######################
RUN apt-get install locales -y
# Set the locale - taken from: https://askubuntu.com/questions/581458/how-to-configure-locales-to-unicode-in-a-docker-ubuntu-14-04-container
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
#######################
# Install Ruby Gems #
#######################
RUN apt-get install rubygems -y \
&& apt-get install ruby-bundler -y \
&& apt-get install ruby-dev -y \
&& apt-get install build-essential -y \
&& gem install ffi -v '1.9.6' \
&& gem install sass
VOLUME /src
WORKDIR /src