Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dockerfile executable path, add git to container #354

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions examples/dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
FROM fedora
MAINTAINER langdon <[email protected]>
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"]
Loading