From c1101ede198c28ea396231e3b330768defd680eb Mon Sep 17 00:00:00 2001
From: Niklas Wagner <Skaro@Skaronator.com>
Date: Tue, 21 Feb 2023 13:52:58 +0100
Subject: [PATCH] Add jq to container image

---
 changelog/unreleased/pull-4220 | 5 +++++
 docker/Dockerfile              | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 changelog/unreleased/pull-4220

diff --git a/changelog/unreleased/pull-4220 b/changelog/unreleased/pull-4220
new file mode 100644
index 000000000..787b6ba2d
--- /dev/null
+++ b/changelog/unreleased/pull-4220
@@ -0,0 +1,5 @@
+Enhancement: Add jq to container image
+
+The Docker container image now contains jq which can be useful when restic outputs json data.
+
+https://github.com/restic/restic/pull/4220
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9f47fa10f..72fc85093 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -11,7 +11,7 @@ RUN go run build.go
 
 FROM alpine:latest AS restic
 
-RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata
+RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata jq
 
 COPY --from=builder /go/src/github.com/restic/restic/restic /usr/bin