Add SHELL and ENTRYPOINT defaults

This commit is contained in:
Joe Groocock 2018-04-17 14:19:46 +01:00
parent ee3552cd20
commit 91e3a64725
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -115,6 +115,8 @@ LABEL maintainer="Spritsail <busybox@spritsail.io>" \
WORKDIR /
SHELL ["/bin/sh", "-exc"]
COPY --from=builder /output/ /
# Add default skeleton configuration files
ADD skel/* /etc/
@ -126,4 +128,5 @@ RUN chmod 755 /usr/bin/ppwd
ENV ENV="/etc/profile"
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
ENTRYPOINT ["/sbin/tini" , "--"]
CMD ["/bin/sh"]