Created
April 14, 2014 07:53
-
-
Save amitsaha/10625582 to your computer and use it in GitHub Desktop.
Fedora Dockerfile for running lshw tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use: docker run -i -t -v $PWD:/home/lshw/lshw_test:rw -u root eded06474d8f ./run-tests.sh | |
# https://index.docker.io/_/centos/ | |
FROM fedora | |
MAINTAINER Beaker developers | |
# Install dependencies. | |
RUN yum -y install fakeroot fakechroot docbook-utils make gcc-c++ | |
# Remove yum metadata. | |
RUN yum clean all | |
RUN useradd lshw | |
USER lshw | |
VOLUME ["/home/lshw/lshw_test"] | |
WORKDIR /home/lshw/lshw_test | |
ENV LANG C | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment