Add SHELL and ENTRYPOINT defaults
This commit is contained in:
parent
ee3552cd20
commit
91e3a64725
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user