Compare commits
2 Commits
2322ef5cf4
...
95143f4284
Author | SHA1 | Date |
---|---|---|
Ethan Paul | 95143f4284 | |
Ethan Paul | 43ae055b7c |
|
@ -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"]
|
|
@ -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:
|
||||
|
Loading…
Reference in New Issue