File: Dockerfile

package info (click to toggle)
pgreplay 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: sh: 3,411; ansic: 3,160; makefile: 55; ruby: 32
file content (16 lines) | stat: -rw-r--r-- 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:22.04

RUN TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && \
    apt-get install --no-install-recommends -y tzdata make gcc libc6-dev postgresql-14 libpq-dev postgresql-doc-14 git ca-certificates && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /root
RUN git clone https://github.com/laurenz/pgreplay.git
WORKDIR /root/pgreplay
RUN ./configure --with-postgres=/usr/bin
RUN make
RUN make install
RUN ln -s /root/pgreplay/pgreplay /usr/local/bin