From 22329b946f307a5b942b0911eb3a619ea57c7ebf Mon Sep 17 00:00:00 2001 From: Belmiro Adriano Date: Tue, 29 Oct 2024 01:54:01 -0400 Subject: [PATCH 1/2] added python3 debendency on debian dockerfile and made sure all files are being copied to the image, debian docker libpython3.11.so.1.0 library error fixed --- Dockerfile.debian | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index 6da1f414fe..83f841643c 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,4 +1,3 @@ -# Build the latest Debian testing image FROM debian:testing RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -25,6 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libxss-dev \ make \ pkg-config \ + python3 \ python3-dev \ python-dev-is-python3 \ libsqlite3-dev \ @@ -34,15 +34,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ RUN mkdir -p /usr/src/{stabber,libstrophe,profanity} WORKDIR /usr/src -#RUN git clone https://github.com/boothj5/stabber RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe -#WORKDIR /usr/src/stabber -#RUN ./bootstrap.sh -#RUN ./configure --prefix=/usr --disable-dependency-tracking -#RUN make -#RUN make install - WORKDIR /usr/src/libstrophe RUN ./bootstrap.sh RUN ./configure --prefix=/usr @@ -50,4 +43,9 @@ RUN make RUN make install WORKDIR /usr/src/profanity -COPY . /usr/src/profanity +COPY . . + +RUN ./bootstrap.sh +RUN ./configure --prefix=/usr +RUN make +RUN make install From 95f63db50c54eb3280ab87f2c252cdae544b4702 Mon Sep 17 00:00:00 2001 From: Belmiro Adriano Date: Tue, 29 Oct 2024 02:13:03 -0400 Subject: [PATCH 2/2] added python3 debendency on debian dockerfile and made sure all files are being copied to the image, debian docker libpython3.11.so.1.0 library error fixed, added back comments --- Dockerfile.debian | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile.debian b/Dockerfile.debian index 83f841643c..d46377bf9a 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -45,6 +45,12 @@ RUN make install WORKDIR /usr/src/profanity COPY . . +#WORKDIR /usr/src/stabber +#RUN ./bootstrap.sh +#RUN ./configure --prefix=/usr --disable-dependency-tracking +#RUN make +#RUN make install + RUN ./bootstrap.sh RUN ./configure --prefix=/usr RUN make