-
Notifications
You must be signed in to change notification settings - Fork 78
/
Dockerfile.debian
50 lines (42 loc) · 1.01 KB
/
Dockerfile.debian
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
50
FROM debian:sid
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
devscripts \
debhelper \
autotools-dev \
libedit-dev \
libgc-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/pgcopydb
COPY ./Makefile ./
COPY ./GIT-VERSION-GEN ./
COPY ./README.md ./
COPY ./CHANGELOG.md ./
COPY ./LICENSE ./
COPY ./src ./src/
COPY ./docs ./docs/
WORKDIR /usr/src
RUN tar czf pgcopydb_0.17.orig.tar.gz pgcopydb
WORKDIR /usr/src/pgcopydb
COPY ./debian/ ./debian/
RUN dpkg-buildpackage --no-sign
WORKDIR /usr/src
#RUN lintian --suppress-tags bad-whatis-entry *.changes