Skip to content

Commit e71d97a

Browse files
committed
DEBIAN_FRONTEND needs to be declared after FROM in order to have any effect
1 parent 0d9e4a5 commit e71d97a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Alpine can only be used if/when this bug is fixed: https://bugs.alpinelinux.org/issues/8470
22
ARG BUILD_FROM=debian:stretch-slim
33

4+
FROM $BUILD_FROM
5+
46
# https://github.com/ehough/docker-nfs-server/pull/3#issuecomment-387880692
57
ARG DEBIAN_FRONTEND=noninteractive
68

7-
FROM $BUILD_FROM
8-
99
# kmod is needed for lsmod, and libcap2-bin is needed for confirming Linux capabilities
1010
RUN apt-get update && \
1111
apt-get install -y --no-install-recommends nfs-kernel-server kmod libcap2-bin && \

0 commit comments

Comments
 (0)