Skip to content
Snippets Groups Projects
Verified Commit a899dd86 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[DBBackupRotation] Switch to a Python image

parent 45ecab7b
No related branches found
No related tags found
No related merge requests found
FROM debian:buster-slim
FROM python:3-slim-buster
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y install cron python3 python3-pip \
&& apt-get -y install cron
&& pip3 install rotate-backups python-crontab \
&& rm -rf /var/lib/apt/lists/*
VOLUME ["/backup"]
VOLUME ["/config"]
COPY start_rotation.py start_rotation.py
RUN touch /crontab.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment