Merge pull request #7417 from elsonrodriguez/patch-1

Fixes #7416 - Fixed NFS example Dockerfile to include a valid Entrypoint.
pull/6/head
Jerzy Szczepkowski 2015-04-28 07:29:47 +02:00
commit b9adf8aa34
1 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,10 @@ FROM fedora:21
MAINTAINER Jan Safranek <jsafrane@redhat.com>
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/
RUN chmod +x /usr/local/bin/run_nfs
ENTRYPOINT ["/usr/local/bin/run_nfs"]