Add ppwd script to skel directory
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user