-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dockerfile executable path, add git to container (#354)
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
FROM fedora | ||
MAINTAINER langdon <langdon@fedoraproject.org> | ||
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"] |