mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 10:31:20 +00:00
Enforce HISTFILE consistency
This commit is contained in:
parent
3cf404ee9a
commit
e064c34d8f
13
Dockerfile
13
Dockerfile
@ -64,12 +64,13 @@ ENV PYTHONPATH="/usr/local/lib/" \
|
|||||||
TFW_HISTFILE="/home/${AVATAO_USER}/.bash_history" \
|
TFW_HISTFILE="/home/${AVATAO_USER}/.bash_history" \
|
||||||
PROMPT_COMMAND="history -a"
|
PROMPT_COMMAND="history -a"
|
||||||
|
|
||||||
RUN echo "shopt -s cmdhist\n" \
|
RUN echo "shopt -s cmdhist\n" \
|
||||||
"shopt -s histappend\n" \
|
"shopt -s histappend\n" \
|
||||||
"unset HISTCONTROL\n" \
|
"unset HISTCONTROL\n" \
|
||||||
"export HISTFILESIZE=1000\n" \
|
"export HISTFILE=$TFW_HISTFILE\n" \
|
||||||
"export HISTSIZE=1000\n" \
|
"export HISTFILESIZE=1000\n" \
|
||||||
'PROMPT_COMMAND="history -a"\n' \
|
"export HISTSIZE=1000\n" \
|
||||||
|
'PROMPT_COMMAND="history -a"\n' \
|
||||||
>> /home/${AVATAO_USER}/.bashrc
|
>> /home/${AVATAO_USER}/.bashrc
|
||||||
|
|
||||||
COPY nginx/nginx.conf ${TFW_NGINX_CONF}
|
COPY nginx/nginx.conf ${TFW_NGINX_CONF}
|
||||||
|
Loading…
Reference in New Issue
Block a user