
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.
12 lines
229 B
Docker
12 lines
229 B
Docker
FROM fedora:21
|
|
MAINTAINER Jan Safranek <jsafrane@redhat.com>
|
|
EXPOSE 2049/tcp
|
|
|
|
RUN yum -y install nfs-utils && yum clean all
|
|
|
|
ADD run_nfs /usr/local/bin/
|
|
|
|
RUN chmod +x /usr/local/bin/run_nfs
|
|
|
|
ENTRYPOINT ["/usr/local/bin/run_nfs"]
|