-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 768 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# DOCKER-VERSION 0.3.4
FROM ubuntu
MAINTAINER Charles Nguyen <chuckleb@gmail.com>
# Turn off intaractive mode to reduce noise and errors
ENV DEBIAN_FRONTEND noninteractive
# Update path
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Run updates and install base libs & tools
RUN apt-get -y update
RUN apt-get -y install build-essential libx11-dev libglu-dev hardinfo sysbench unzip expect \
php5-curl php5-common php5-cli php5-gd libfpdi-php gfortran wget cmake libncurses5-dev curl
# Mount point to hold results
VOLUME ["/data"]
# This will force it to pull latest script and execute
ENTRYPOINT ["/bin/bash", "-c", "wget https://raw.githubusercontent.com/STH-Dev/linux-bench/master/linux-bench.sh;chmod a+x *.sh ;./linux-bench.sh"]