FROM d9base
ARG date
ARG version
LABEL name=d9-nutools date=$date version=$version
ENV I=/install/nutools
COPY . $I
RUN $I/uinst -y $I && rm -rf $I
ENV PATH="$PATH:/usr/local/nutools"
CMD ["/bin/bash", "-il"]