From: Rytis Sileika Date: Wed, 10 Mar 2021 21:13:48 +0000 (+0000) Subject: Install vim in docker-auth image X-Git-Tag: rec-4.5.0-beta1~32^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=005d18246a153237e6b7fc8317e810857e1f7bf8;p=thirdparty%2Fpdns.git 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. --- 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 /