Permalink
Browse files

Changed ENV setting of DEBIAN_FRONTEND to use ARG

This allows users to connect interactively if desired:
  docker run -ti

ARG is scoped to build time while ENV is set into the built image.

For more info:
docker/docker#4032 (comment)

https://docs.docker.com/engine/reference/builder/#arg
  • Loading branch information...
1 parent eb24220 commit 39f1096a59e77015366e57e30a546567aa0fe506 @seekayel seekayel committed Apr 16, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 Dockerfile
View
@@ -1,7 +1,7 @@
FROM java:8
MAINTAINER William Durand <william.durand1@gmail.com>
-ENV DEBIAN_FRONTEND noninteractive
+ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y supervisor curl && \

0 comments on commit 39f1096

Please sign in to comment.