From bdbe6987b7e18ad1163ee30830b394f2a7da9272 Mon Sep 17 00:00:00 2001 From: Luke Repko Date: Tue, 6 Aug 2024 14:18:12 -0500 Subject: [PATCH] fix: add apt dependencies for source builds --- Containerfiles/GnocchiRXT-Containerfile | 26 ++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/Containerfiles/GnocchiRXT-Containerfile b/Containerfiles/GnocchiRXT-Containerfile index d80ceca6..6b8ef80d 100644 --- a/Containerfiles/GnocchiRXT-Containerfile +++ b/Containerfiles/GnocchiRXT-Containerfile @@ -3,12 +3,32 @@ ARG VERSION=4.6.2 ENV GNOCCHI_VERSION ${VERSION:-master} ENV DEBIAN_FRONTEND=noninteractive RUN apt update -RUN apt install -y build-essential software-properties-common git curl apache2 +RUN apt install -y software-properties-common RUN add-apt-repository ppa:deadsnakes/ppa -y RUN apt update -RUN apt install -y python3.10 python3.10-dev +RUN apt install -y \ + python3.10 \ + python3.10-dev \ + git \ + wget \ + curl \ + apache2 \ + locales \ + libapache2-mod-wsgi-py3 \ + build-essential \ + libffi-dev \ + libpq-dev \ + postgresql \ + memcached \ + mysql-client \ + mysql-server \ + librados-dev \ + liberasurecode-dev \ + python3-rados \ + ceph \ + libsnappy-dev \ + libprotobuf-dev RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 RUN pip install "gnocchi[postgresql,ceph,keystone] @ git+https://github.com/gnocchixyz/gnocchi.git@${GNOCCHI_VERSION}" RUN mkdir /var/run/apache2 -RUN apt install -y libapache2-mod-wsgi-py3 RUN adduser gnocchi --disabled-password