Skip to content
Snippets Groups Projects

Need cron to run...cron

Merged Erick Hitter requested to merge develop into master
3 files
+ 8
5
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
3
@@ -7,7 +7,9 @@ RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sourc
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
python3 python3-pip \
cron \
python3 \
python3-pip \
&& pip3 install setuptools \
&& pip3 install s3cmd \
&& s3cmd --version \
@@ -20,5 +22,4 @@ RUN apt-get update \
COPY s3-purge.sh /usr/local/bin/s3-purge
COPY crontab /etc/cron.d/s3-purge
RUN touch /var/log/s3-purge
CMD ["tail", "-F", "/var/log/s3-purge"]
CMD ["cron", "-f"]
Loading