Add 'DEBIAN_FRONTEND' as 'ARG'

Using 'ARG' instead of 'ENV' allows to define environment variables only
for the build stage. See
https://github.com/moby/moby/issues/4032#issuecomment-34597177.
This commit is contained in:
Paul-Emmanuel Raoul 2018-11-27 11:15:48 +00:00
parent f1dd30d18c
commit 195a3c8304
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ FROM debian:jessie-slim
LABEL MAINTAINER="theonlydoo <theonlydoo@gmail.com>"
ARG RELEASE=1.6
ARG DEBIAN_FRONTEND=noninteractive
EXPOSE 5000