Use ENTRYPOINT to start the supervisor

This commit is contained in:
Pablo Carranza Vélez 2015-10-09 16:57:40 +00:00
parent 25198409b1
commit 3404b4f45b
4 changed files with 4 additions and 4 deletions

View File

@ -38,4 +38,4 @@ ENV SUPERVISOR_IMAGE resin/amd64-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
CMD ["/app/entry.sh"]
ENTRYPOINT ["/app/entry.sh"]

View File

@ -38,4 +38,4 @@ ENV SUPERVISOR_IMAGE resin/armv7hf-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
CMD ["/app/entry.sh"]
ENTRYPOINT ["/app/entry.sh"]

View File

@ -38,4 +38,4 @@ ENV SUPERVISOR_IMAGE resin/i386-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
CMD ["/app/entry.sh"]
ENTRYPOINT ["/app/entry.sh"]

View File

@ -34,4 +34,4 @@ RUN chmod +x /app/src/enterContainer.sh \
RUN chmod +x /app/bin/gosuper
CMD ["/app/entry.sh"]
ENTRYPOINT ["/app/entry.sh"]