nfs-krb/Dockerfile.ubuntu

17 lines
400 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-ubuntu.sh .
COPY ./init.sh .
RUN chmod +x ./entrypoint-ubuntu.sh && chmod +x ./init.sh
RUN ls
EXPOSE 2049 88 749 750 111 666 892
CMD ["./init.sh", "ubuntu"]