mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 03:03:40 +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:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user