2 MAINTAINER Hans Feldt <hans.feldt@ericsson.com>
4 # TODO: Is there some easy way to get the fastest/closest mirror?
5 #RUN sed -i 's/archive.ubuntu.com/ftp.acc.umu.se/g' /etc/apt/sources.list
7 RUN apt-get update && apt-get install -y \
12 python-setuptools && \
13 easy_install -U setuptools
17 RUN cd /tmp/yardstick && \
18 python setup.py install && \
27 apt-get -y autoremove && \
29 useradd -u 65500 -m yardstick && \
30 cp -a samples /home/yardstick && \
31 chown -R yardstick /home/yardstick/samples && \
32 chgrp -R yardstick /home/yardstick/samples && \
34 rm -rf /var/lib/apt/lists/*
38 ENV HOME /home/yardstick
39 WORKDIR /home/yardstick