17 lines
376 B
Docker
17 lines
376 B
Docker
FROM ubuntu:latest
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
WORKDIR /root
|
|
RUN apt-get update
|
|
RUN apt-get install -y nfs-kernel-server krb5-kdc krb5-admin-server nfs-common bash iproute2 iputils-ping net-tools
|
|
|
|
COPY ./entrypoint.sh .
|
|
COPY ./init.sh .
|
|
RUN chmod +x ./entrypoint.sh && chmod +x ./init.sh
|
|
|
|
RUN ls
|
|
|
|
EXPOSE 2049 88 749 750 111 666 892
|
|
CMD ["./init.sh"]
|