-
Notifications
You must be signed in to change notification settings - Fork 78
/
Dockerfile.debian-qa
49 lines (41 loc) · 1.05 KB
/
Dockerfile.debian-qa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM debian:sid
ENV TAR v0.17.tar.gz
ENV ORIG pgcopydb_0.17.orig.tar.gz
ENV WORKDIR /usr/src/pgcopydb-0.17
ENV ARCHIVE https://github.com/dimitri/pgcopydb/archive/refs/tags/
ENV RELEASE ${ARCHIVE}${TAR}
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
devscripts \
debhelper \
autotools-dev \
libgc-dev \
libedit-dev \
libpam0g-dev \
libreadline-dev \
libselinux1-dev \
libxslt1-dev \
libssl-dev \
libkrb5-dev \
zlib1g-dev \
liblz4-dev \
libpq5 \
libpq-dev \
libzstd-dev \
postgresql-server-dev-all \
postgresql-common \
postgresql \
python3-sphinx \
lintian \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src
RUN curl -L -o ${TAR} ${RELEASE}
RUN tar xf ${TAR}
RUN mv ${TAR} ${ORIG}
WORKDIR ${WORKDIR}
COPY ./debian/ ./debian/
RUN dpkg-buildpackage --no-sign
WORKDIR /usr/src
#RUN lintian --suppress-tags bad-whatis-entry *.changes