add initial source

This commit is contained in:
Frederik Ring
2021-04-02 13:59:47 +02:00
parent a2fd22f300
commit a726bdecd4
7 changed files with 215 additions and 1 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Copyright 2021 - Offen Authors <hioffen@posteo.de>
# SPDX-License-Identifier: MIT
FROM alpine:3.13
WORKDIR /root
RUN apk add --update ca-certificates docker openrc gnupg
RUN rc-update add docker boot
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc && \
chmod +x mc && \
mv mc /usr/bin/mc
COPY src/backup.sh src/entrypoint.sh /root/
RUN chmod +x backup.sh && mv backup.sh /usr/bin/backup \
&& chmod +x entrypoint.sh
ENTRYPOINT ["/root/entrypoint.sh"]