Browse Source

added local build incl. curl

toastie89 1 year ago
parent
commit
0d283d3e1c
2 changed files with 4 additions and 0 deletions
  1. 3 0
      restic/Dockerfile
  2. 1 0
      restic/docker-compose.yml

+ 3 - 0
restic/Dockerfile

@@ -0,0 +1,3 @@
+FROM restic/restic
+# Adding curl to talk with the Prometheus Gateway
+RUN apk add --update curl

+ 1 - 0
restic/docker-compose.yml

@@ -2,6 +2,7 @@ version: '2'
 services:
   restic:
     image: restic/restic
+    build: .
     container_name: restic
     hostname: restic
     restart: on-failure:3