| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:e67907c77897d27192314f6c4fa0112b6f7dce3e127500516535cc50fe736c92 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c echo "Building crontab..." # buildkit |
| WORKDIR /workers |
| RUN /bin/sh -c apt-get update && apt-get install -y curl software-properties-common npm # buildkit |
| RUN /bin/sh -c npm install npm@10.8.1 -g && npm install n -g && n 22.4.1 # buildkit |
| COPY ./ ./ # buildkit |
| RUN /bin/sh -c npm install # buildkit |
| RUN /bin/sh -c apt-get update && apt-get -y install cron # buildkit |
| COPY ./crontab /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c chmod 0644 /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c crontab /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c touch /var/log/cron.log # buildkit |
| RUN /bin/sh -c printenv > /etc/environment # buildkit |
| CMD ["/bin/sh" "-c" "cron >> /var/log/cron.log 2>&1 && tail -f /var/log/cron.log"] |