From dc6daa6a3c4b5045ea2a82bd622a848fa907da2b Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Sat, 9 Mar 2024 18:19:43 +0500 Subject: [PATCH] saved --- Dockerfile.develop.bullseye | 9 +++++++++ Dockerfile.develop.focal | 9 +++++++++ Dockerfile.develop.jammy | 9 +++++++++ Dockerfile.develop.noble | 9 +++++++++ Dockerfile.develop.trixie | 9 +++++++++ 5 files changed, 45 insertions(+) diff --git a/Dockerfile.develop.bullseye b/Dockerfile.develop.bullseye index 91704f0..2ca04d6 100644 --- a/Dockerfile.develop.bullseye +++ b/Dockerfile.develop.bullseye @@ -13,10 +13,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ git \ postgresql-13 \ && rm -rf /var/lib/apt/lists/* +RUN git clone https://github.com/eradman/ephemeralpg.git \ + && cd ephemeralpg \ + && make && make install \ + && cd .. \ + && rm -rf ephemeralpg/ + +RUN python3 -m pip install wdb + ENV PATH="/usr/lib/postgresql/13/bin:${PATH}" # take out coverage report from source directory ENV COVERAGE_FILE="/tmp/qllr.coverage" diff --git a/Dockerfile.develop.focal b/Dockerfile.develop.focal index 9d0108c..63d2ad2 100644 --- a/Dockerfile.develop.focal +++ b/Dockerfile.develop.focal @@ -15,10 +15,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ git \ postgresql-12 \ && rm -rf /var/lib/apt/lists/* +RUN git clone https://github.com/eradman/ephemeralpg.git \ + && cd ephemeralpg \ + && make && make install \ + && cd .. \ + && rm -rf ephemeralpg/ + +RUN python3 -m pip install wdb + ENV PATH="/usr/lib/postgresql/12/bin:${PATH}" # take out coverage report from source directory ENV COVERAGE_FILE="/tmp/qllr.coverage" diff --git a/Dockerfile.develop.jammy b/Dockerfile.develop.jammy index 3a90aa5..8eecd2c 100644 --- a/Dockerfile.develop.jammy +++ b/Dockerfile.develop.jammy @@ -13,10 +13,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ git \ postgresql-14 \ && rm -rf /var/lib/apt/lists/* +RUN git clone https://github.com/eradman/ephemeralpg.git \ + && cd ephemeralpg \ + && make && make install \ + && cd .. \ + && rm -rf ephemeralpg/ + +RUN python3 -m pip install wdb + ENV PATH="/usr/lib/postgresql/14/bin:${PATH}" # take out coverage report from source directory ENV COVERAGE_FILE="/tmp/qllr.coverage" diff --git a/Dockerfile.develop.noble b/Dockerfile.develop.noble index d9de119..bea94ef 100644 --- a/Dockerfile.develop.noble +++ b/Dockerfile.develop.noble @@ -13,10 +13,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ git \ postgresql-16 \ && rm -rf /var/lib/apt/lists/* +RUN git clone https://github.com/eradman/ephemeralpg.git \ + && cd ephemeralpg \ + && make && make install \ + && cd .. \ + && rm -rf ephemeralpg/ + +RUN python3 -m pip install wdb + ENV PATH="/usr/lib/postgresql/16/bin:${PATH}" # take out coverage report from source directory ENV COVERAGE_FILE="/tmp/qllr.coverage" diff --git a/Dockerfile.develop.trixie b/Dockerfile.develop.trixie index 3021b79..96e5412 100644 --- a/Dockerfile.develop.trixie +++ b/Dockerfile.develop.trixie @@ -13,10 +13,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ git \ postgresql-16 \ && rm -rf /var/lib/apt/lists/* +RUN git clone https://github.com/eradman/ephemeralpg.git \ + && cd ephemeralpg \ + && make && make install \ + && cd .. \ + && rm -rf ephemeralpg/ + +RUN python3 -m pip install wdb + ENV PATH="/usr/lib/postgresql/16/bin:${PATH}" # take out coverage report from source directory ENV COVERAGE_FILE="/tmp/qllr.coverage"