alpine container crashing with this error in CMD

This page summarizes the projects mentioned and recommended in the original post on /r/docker

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Adafruit_Python_DHT

    Discontinued Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.

  • # BUILD IMAGE FROM arm32v6/python:2.7-alpine3.7 as builder RUN apk --no-cache add git build-base WORKDIR /home RUN git clone https://github.com/adafruit/Adafruit_Python_DHT.git && \ cd Adafruit_Python_DHT && \ python setup.py install COPY startup.sh startup.sh COPY home_iot home_iot RUN pip install influxdb==5.0.0 ## RUNTIME IMAGE FROM arm32v6/python:2.7-alpine3.7 RUN apk --no-cache add ca-certificates COPY --from=builder /usr/local/lib/python2.7 /usr/local/lib/python2.7 COPY --from=builder /home/home_iot /home/home_iot COPY --from=builder /home/startup.sh /home/startup.sh RUN chmod a+x /home/startup.sh WORKDIR /home #RUN echo '* * * * * python home_iot/check_indoor_weather.py' > /etc/crontabs/root CMD ['/usr/sbin/crond', '-l 2', '-f']

  • supercronic

    Cron for containers

  • A little off topic from your post, but you should check out Supercronic - https://github.com/aptible/supercronic

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts