Skip to content

Commit fac0cb5

Browse files
author
Andreas Büker
committed
Adjusted Dockerfile to newer version of Ubuntu
1 parent 6c1969c commit fac0cb5

1 file changed

Lines changed: 22 additions & 6 deletions

File tree

VMs/Dockerfile

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
# This dockerfile builds a container that pulls down and runs the latest version of Benchmark
2-
FROM ubuntu:15.04
2+
FROM ubuntu:16.04
33
MAINTAINER Simon Bennetts "psiinon@gmail.com"
44

55
RUN apt-get update && apt-get clean
6-
RUN apt-get install -q -y make automake autoconf gcc g++ openjdk-7-jre-headless openjdk-7-jdk ruby wget curl xmlstarlet unzip git x11vnc xvfb openbox xterm net-tools ruby-dev && apt-get clean
6+
RUN apt-get install -q -y \
7+
make \
8+
automake \
9+
autoconf \
10+
gcc \
11+
g++ \
12+
openjdk-8-jre-headless \
13+
openjdk-8-jdk \
14+
ruby \
15+
curl \
16+
xmlstarlet \
17+
git \
18+
x11vnc \
19+
xvfb \
20+
openbox \
21+
xterm \
22+
net-tools \
23+
ruby-dev \
24+
maven \
25+
&& apt-get clean
26+
727
RUN apt-get --assume-yes --fix-missing install python-pip x11vnc
828

929
RUN mkdir /benchmark
1030
WORKDIR /benchmark
11-
RUN wget http://archive.apache.org/dist/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz
12-
RUN tar -xzf apache-maven-3.2.3-bin.tar.gz
13-
RUN cp -R apache-maven-3.2.3 /usr/local
14-
RUN ln -s /usr/local/apache-maven-3.2.3/bin/mvn /usr/bin/mvn
1531

1632
ENV bench /benchmark/bench.sh
1733
RUN echo "#!/bin/sh" > ${bench}

0 commit comments

Comments
 (0)