Fix shopt magic in Dockerfile

This commit is contained in:
Kristóf Tóth 2018-03-05 13:30:34 +01:00
parent ac8e5506a5
commit 100ec96e63

View File

@ -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}