From 100ec96e6372cfafb2e5176b90d8e49cbf27a972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Mon, 5 Mar 2018 13:30:34 +0100 Subject: [PATCH] Fix shopt magic in Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e451e5..fd700c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,8 +66,7 @@ ENV PYTHONPATH="/usr/local/lib/" \ HISTFILESIZE=1000 \ HISTSIZE=1000 -RUN sudo -u ${AVATAO_USER} bash -c 'shopt -s cmdhist' &&\ - sudo -u ${AVATAO_USER} bash -c 'shopt -s histappend' +RUN echo "shopt -s cmdhist && shopt -s histappend" >> .bashrc COPY nginx/nginx.conf ${TFW_NGINX_CONF} COPY nginx/components/ ${TFW_NGINX_COMPONENTS}