rename ubuntu files, make entrypoints conditional
This commit is contained in:
parent
0e7565666e
commit
93b13af8ab
@ -6,11 +6,11 @@ WORKDIR /root
|
|||||||
RUN apt-get update
|
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
|
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 ./entrypoint-ubuntu.sh .
|
||||||
COPY ./init.sh .
|
COPY ./init.sh .
|
||||||
RUN chmod +x ./entrypoint.sh && chmod +x ./init.sh
|
RUN chmod +x ./entrypoint-ubuntu.sh && chmod +x ./init.sh
|
||||||
|
|
||||||
RUN ls
|
RUN ls
|
||||||
|
|
||||||
EXPOSE 2049 88 749 750 111 666 892
|
EXPOSE 2049 88 749 750 111 666 892
|
||||||
CMD ["./init.sh"]
|
CMD ["./init.sh", "ubuntu"]
|
||||||
Loading…
x
Reference in New Issue
Block a user