Replies: 1 comment 2 replies
-
SGTM, I'll update the docker file to include it's own copy of restic. I'd also add that backrest is validated against specific versions of restic, so relying on apk to install the right one might not always be correct (though my understanding is apk's are kept pretty up to date?). Make sure the version of restic you're getting matches the version used by backrest (as set in the installer here) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Keeping the binary inside the docker image will make it run without issue on apparmor or selinux hardened systems. Binaries outside of a docker container are not allowed to be executed with default policies.
I went through the code and found that a variable with the backrest binary can be set to override the default location which is in a volume outside of the image.
This is my Dockerfile:
It can be used to create a container of the latest or a specific version.
Beta Was this translation helpful? Give feedback.
All reactions