Commit 621c86de authored by elsonrodriguez's avatar elsonrodriguez

Fixed NFS example Dockerfile to include a valid Entrypoint.

While running through this example the Dockerfile wouldn't build, upon closer inspection the entrypoint was not being copied into the container, and it was not executable.
parent 45d8c97b
...@@ -2,6 +2,10 @@ FROM fedora:21 ...@@ -2,6 +2,10 @@ FROM fedora:21
MAINTAINER Jan Safranek <jsafrane@redhat.com> MAINTAINER Jan Safranek <jsafrane@redhat.com>
EXPOSE 2049/tcp EXPOSE 2049/tcp
RUN yum -y install nfs-utils && yum clean all && run_nfs /usr/local/bin/run_nfs RUN yum -y install nfs-utils && yum clean all
ENTRYPOINT ["/usr/local/bin/run_nfs"] ADD run_nfs /usr/local/bin/
\ No newline at end of file
RUN chmod +x /usr/local/bin/run_nfs
ENTRYPOINT ["/usr/local/bin/run_nfs"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment