diff --git a/examples/dockerfile b/examples/dockerfile index 92a2f6ef..cb035540 100644 --- a/examples/dockerfile +++ b/examples/dockerfile @@ -1,17 +1,18 @@ FROM fedora MAINTAINER langdon RUN yum clean all && yum -y update -RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-gssapi python-nitrate python-dateutil python-urllib-gssapi +RUN yum -y install python python-pip make gcc krb5-devel python-devel python-setuptools python-gssapi python-nitrate python-dateutil python-urllib-gssapi git-core RUN yum clean all COPY . /opt/did WORKDIR /opt/did -RUN python setup.py install +RUN git config --global --add safe.directory '*' \ + && python setup.py install \ + && ln -s /did.conf /root/.did #RUN ln -s /user-home/.did /root/.did -RUN ln -s /did.conf /root/.did VOLUME /did.conf LABEL RUN docker run --privileged --rm -it -v $(HOME)/.did:/did.conf $(USERNAME)/did -ENTRYPOINT ["/usr/bin/did"] +ENTRYPOINT ["/opt/did/bin/did"]