Skip to content

Commit

Permalink
Merge pull request kubernetes#7417 from elsonrodriguez/patch-1
Browse files Browse the repository at this point in the history
Fixes kubernetes#7416 - Fixed NFS example Dockerfile to include a valid Entrypoint.
  • Loading branch information
jszczepkowski committed Apr 28, 2015
2 parents 0153744 + 621c86d commit b9adf8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/nfs/exporter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ FROM fedora:21
MAINTAINER Jan Safranek <[email protected]>
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"]

0 comments on commit b9adf8a

Please sign in to comment.