forked from briknow/ElixirTest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 653 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (18 loc) · 653 Bytes
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
# Source: http://blog.zenika.com/2014/10/07/setting-up-a-development-environment-using-docker-and-vagrant/
FROM ubuntu:14.04
# Install dev tools: jdk, git etc...
RUN apt-get update && apt-get install -y \
git \
openjdk-7-jdk \
wget
# jdk7 is the default jdk
RUN ln -fs /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java /etc/alternatives/java
# Install vertx
RUN \
mkdir -p /usr/local/vertx && cd /usr/local/vertx && \
wget http://dl.bintray.com/vertx/downloads/vert.x-2.1.2.tar.gz -qO - | tar -xz
# Add vertx to the path
ENV PATH /usr/local/vertx/vert.x-2.1.2/bin:$PATH
RUN mkdir -p /usr/local/src
WORKDIR /usr/local/src
CMD ["bash"]