From 90a5a447eef2da6dbe0859b9189fcd1acc1d24c0 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Mon, 8 Oct 2018 21:54:31 +0300 Subject: [PATCH] replace hardcode on docker ENV --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 023c6ce..5ccbbff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM wernight/dante # TODO: Replace 'john' and 'MyPassword' by any username/password you want. -RUN printf 'MyPassword\nMyPassword\n' | adduser john +ENV PASS MyPassword +RUN printf '${PASS}\n${PASS}\n' | adduser john