-# avoid extra information from packages
-RUN echo 'path-exclude /usr/share/doc/*\n\
-path-include /usr/share/doc/*/copyright\n\
-path-exclude /usr/share/man/*\n\
-path-exclude /usr/share/groff/*\n\
-path-exclude /usr/share/info/*\n\
-path-exclude /usr/share/lintian/*\n\
-path-exclude /usr/share/linda/*\n'\
-> /etc/dpkg/dpkg.cfg.d/01_nodoc && \
- echo 'APT::Install-Recommends "false";\n\
-APT::AutoRemove::RecommendsImportant "false";\n\
-APT::AutoRemove::SuggestsImportant "false";\n'\
-> /etc/apt/apt.conf.d/99_norecommends
-
-RUN apt-get update && apt-get -y install curl software-properties-common
-
-RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make python3 \
- gpg-agent python3-pip python3-pymongo python3-aiohttp \
- python3-all python3-setuptools openssh-client libffi-dev libssl-dev \
- python3-bitarray python3-regex python3-lxml dh-python wget tox \
- python3-cffi \
- && python3 -m pip install -U pip \
- && python3 -m pip install -U aiokafka lxml six enum34 \
- && python3 -m pip install requests \
- && python3 -m pip install -U juju==2.8.2 \
- && rm -rf /var/lib/apt/lists/*