History command doesn't clear and HISTSIZE is ignored
The history command does not work properly:
docker run -it alpine:3.10
/ # history
0 history
/ # export HISTSIZE=0
/ # history -c
0 history
1 export HISTSIZE=0
2 history -c
/ # ls
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
/ # history -c
0 history
1 export HISTSIZE=0
2 history -c
3 ls
4 history -c
/ #
(from redmine: issue id 10651, created on 2019-07-03, closed on 2019-07-03)