Add /start shim for containers using old entrypoint (#3663)

This commit is contained in:
Geoff Bourne
2025-09-19 17:17:59 -05:00
committed by GitHub
parent cabeb9c695
commit 9a6b858b83

View File

@@ -66,6 +66,10 @@ STOPSIGNAL SIGTERM
ENV TYPE=VANILLA VERSION=LATEST EULA="" UID=1000 GID=1000 LC_ALL=en_US.UTF-8
COPY --chmod=755 scripts/start* /image/scripts/
# Backward compatible shim for those with legacy entrypoint
RUN echo "#!/bin/sh\nexec /image/scripts/start\n" > /start && chmod +x /start
COPY --chmod=755 scripts/auto/* /image/scripts/auto/
COPY --chmod=755 files/shims/ /usr/local/bin/
COPY --chmod=755 files/* /image/