]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Install vim in docker-auth image
authorRytis Sileika <rts.pub@pulegium.eu>
Wed, 10 Mar 2021 21:13:48 +0000 (21:13 +0000)
committerGitHub <noreply@github.com>
Wed, 10 Mar 2021 21:13:48 +0000 (21:13 +0000)
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

index fedab975c2dfd4c3a362c2ff5c4eb2c3b7dabe94..0429802f01bfd1749095b8bb87455bbfa003a5f5 100644 (file)
@@ -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 /