From 49cda5d33305cead6f311ffcee4cb56bf8801e90 Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Wed, 7 Feb 2024 21:01:46 -0800 Subject: [PATCH] docs: add example Dockerfile showing how to build custom images --- Dockerfile.example | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile.example diff --git a/Dockerfile.example b/Dockerfile.example new file mode 100644 index 00000000..7a566ed1 --- /dev/null +++ b/Dockerfile.example @@ -0,0 +1,8 @@ +FROM garethgeorge/backrest:latest AS backrest +FROM ubuntu:14.04 AS ubuntu +COPY --from=backrest /tmp /tmp +COPY --from=backrest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +COPY --from=backrest /backrest /backrest +# install custom binaries for use with backrest hooks +RUN apt-get update && apt-get install -y curl bash +ENTRYPOINT ["/backrest"]