Compare commits

...

2 Commits

Author SHA1 Message Date
Ethan Paul 95143f4284
Update license to markdown 2023-03-14 21:57:24 -04:00
Ethan Paul 43ae055b7c
Add containerfile for running backup image 2023-03-14 21:56:09 -04:00
2 changed files with 20 additions and 2 deletions

18
Containerfile Normal file
View File

@ -0,0 +1,18 @@
FROM fedora:37
ARG borg_version=1.2.3
RUN dnf install procps-ng borgbackup-$borg_version --assumeyes && \
useradd --uid 1000 borg && \
mkdir --parents /backups && \
dnf clean all --assumeyes
VOLUME /backups
WORKDIR /backups
HEALTHCHECK CMD pgrep --exact borg
USER 1000:1000
CMD ["/bin/bash", "borg"]

View File

@ -1,6 +1,6 @@
MIT License
# MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) 2023 Ethan Paul
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: