Add ppwd script to skel directory

This commit is contained in:
2018-04-17 14:21:02 +01:00
parent 91e3a64725
commit d23100703c
6 changed files with 22 additions and 5 deletions

View File

@ -119,11 +119,9 @@ SHELL ["/bin/sh", "-exc"]
COPY --from=builder /output/ /
# Add default skeleton configuration files
ADD skel/* /etc/
RUN chmod 1777 /tmp
ADD https://gist.githubusercontent.com/frebib/2b4ba154a9d62b31b1edcb50477e7f01/raw/647c3f8ee4dc7e325cd41f40fe47735f75a7f607/ppwd.sh /usr/bin/ppwd
RUN chmod 755 /usr/bin/ppwd
COPY skel/ /
RUN chmod 1777 /tmp && \
chmod 775 /usr/bin/*
ENV ENV="/etc/profile"
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin