docs: add example Dockerfile showing how to build custom images

This commit is contained in:
garethgeorge
2024-02-07 21:01:59 -08:00
parent 668a7cb5bb
commit 49cda5d333
+8
View File
@@ -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"]