Link the entry to /start to work with the hardcoded /start in old docker/rce-run-supervisor scripts.

This commit is contained in:
Pagan Gazzard 2015-02-26 16:13:52 +00:00 committed by Pablo Carranza Vélez
parent ce2c4c8eaa
commit 7bf0637347
3 changed files with 6 additions and 0 deletions

View File

@ -43,4 +43,6 @@ ENV SUPERVISOR_IMAGE resin/i386-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
# Needed for legacy
RUN ln -sf /app/entry.sh /start
CMD ["/app/entry.sh"]

View File

@ -35,4 +35,6 @@ COPY . /app/
RUN chmod +x /app/src/enterContainer.sh
RUN /app/node_modules/.bin/coffee -c /app/src
# Needed for legacy
RUN ln -sf /app/entry.sh /start
CMD ["/app/entry.sh"]

View File

@ -36,4 +36,6 @@ ENV SUPERVISOR_IMAGE resin/x86_64-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
# Needed for legacy
RUN ln -sf /app/entry.sh /start
CMD ["/app/entry.sh"]