From 005d18246a153237e6b7fc8317e810857e1f7bf8 Mon Sep 17 00:00:00 2001 From: Rytis Sileika Date: Wed, 10 Mar 2021 21:13:48 +0000 Subject: [PATCH] Install vim in docker-auth image pdnsutil edit-zone requires EDITOR to be set. Currently there's no editor installed at all. Adding vim, so that it can be used as default editor by pdnsutil edit-zone. --- Dockerfile-auth | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile-auth b/Dockerfile-auth index fedab975c2..0429802f01 100644 --- a/Dockerfile-auth +++ b/Dockerfile-auth @@ -71,8 +71,9 @@ FROM debian:10-slim # Reusable layer for base update - Should be cached from builder RUN apt-get update && apt-get -y dist-upgrade && apt-get clean -# Ensure python3 and jinja2 is present (for startup script), and sqlite3 (for db schema), and tini (for signal management) -RUN apt-get install -y python3 python3-jinja2 sqlite3 tini libcap2-bin && apt-get clean +# Ensure python3 and jinja2 is present (for startup script), and sqlite3 (for db schema), and tini (for signal management), +# and vim (for pdnsutil edit-zone) +RUN apt-get install -y python3 python3-jinja2 sqlite3 tini libcap2-bin vim && apt-get clean # Output from builder COPY --from=builder /build / -- 2.47.2