[AC-5457] change dockerfile's apt-get commands according to best practices:
[AC-5457] change dockerfile's apt-get commands according to best practices:

- run update and install together
- split installed packages to separate lines in same command.
- delete apt cache when done.

This results in an efficient caching behaviour - the cached apt-get
update will be invalidated when the packages list changes.

See: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run

masschallenge/impact-api,masschallenge/impact-api,masschallenge/impact-api,masschallenge/impact-api