Skip to content
Snippets Groups Projects
Commit 90fb86a7 authored by Andres Maldonado's avatar Andres Maldonado
Browse files

[pica-db-backup-rotation] Use 'python:3.8-alpine' as base

parent b4667e89
No related branches found
No related tags found
No related merge requests found
FROM python:3-slim-buster
FROM python:3.8-alpine
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y install --no-install-recommends cron \
&& pip3 install rotate-backups python-crontab \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir "rotate-backups<9" "python-crontab<2.5"
COPY start_rotation.py /start_rotation.py
......
......@@ -2,7 +2,7 @@ version: "3.7"
services:
db-backup-rotation:
image: registry.picasoft.net/pica-db-backup-rotation:1.2
image: registry.picasoft.net/pica-db-backup-rotation:1.3
container_name: db-backup-rotation
volumes:
- /DATA/BACKUP/:/backup/
......
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