Remove py2-psutil from apk

The lib psutil in monasca-agent collector image is installed by
pip. An extra installation by apk isn't needed.

Change-Id: I580bdb01479522e7243bf3d2ace757edb2eff6db
This commit is contained in:
Martin Chacon Piza 2022-01-26 19:52:07 +01:00
parent 8c8a85a1d8
commit 052ab23048

View File

@ -29,7 +29,7 @@ COPY kubernetes_get_host.py /
# Stay with only one `RUN` and use `&& \` for next steps to don't create
# unnecessary image layers. Clean at the end to conserve space.
RUN \
apk add --no-cache util-linux libxml2 py2-psutil libffi-dev openssl-dev
apk add --no-cache util-linux libxml2 libffi-dev openssl-dev
# Implement start script in `start.sh` file.
CMD ["/start.sh"]