mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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.
This commit is contained in:
parent
45d8c97b0b
commit
621c86defb
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user