Skip to content

Commit 6ba4cdd

Browse files
committed
Tidy up Dockerfiles a bit
1 parent d074985 commit 6ba4cdd

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

build/docker/pgdd-ubuntu-bionic/Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,4 @@ ENV PATH="/home/${USER}/.cargo/bin:${PATH}"
3232
RUN /bin/bash rustup.sh -y \
3333
&& cargo install cargo-pgx
3434

35-
RUN cargo pgx init \
36-
--pg10=/usr/lib/postgresql/10/bin/pg_config \
37-
--pg11=/usr/lib/postgresql/11/bin/pg_config \
38-
--pg12=/usr/lib/postgresql/12/bin/pg_config \
39-
--pg13=/usr/lib/postgresql/13/bin/pg_config
35+
RUN cargo pgx init

build/docker/pgdd-ubuntu-focal/Dockerfile

+5-9
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" >> /etc/
1515
RUN apt-get update
1616
RUN apt-get install -y \
1717
clang-10 llvm-10 clang libz-dev strace pkg-config \
18-
libxml2 libxml2-dev libreadline8 flex bison libbison-dev build-essential \
18+
libxml2 libxml2-dev libreadline8 libreadline-gplv2-dev \
19+
flex bison libbison-dev build-essential \
1920
zlib1g-dev libxslt-dev libssl-dev libxml2-utils xsltproc libgss-dev \
2021
libldap2-dev libkrb5-dev gettext tcl-tclreadline tcl-dev libperl-dev \
2122
libpython3-dev libprotobuf-c-dev libprotobuf-dev gcc \
22-
ruby ruby-dev rubygems
23-
24-
RUN apt-get install -y postgresql-server-dev-10 \
23+
ruby ruby-dev rubygems \
24+
postgresql-server-dev-10 \
2525
postgresql-server-dev-11 \
2626
postgresql-server-dev-12 \
2727
postgresql-server-dev-13
@@ -39,8 +39,4 @@ ENV PATH="/home/${USER}/.cargo/bin:${PATH}"
3939
RUN /bin/bash rustup.sh -y \
4040
&& cargo install cargo-pgx
4141

42-
RUN cargo pgx init \
43-
--pg10=/usr/lib/postgresql/10/bin/pg_config \
44-
--pg11=/usr/lib/postgresql/11/bin/pg_config \
45-
--pg12=/usr/lib/postgresql/12/bin/pg_config \
46-
--pg13=/usr/lib/postgresql/13/bin/pg_config
42+
RUN cargo pgx init

sql/load-order.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib.generated.sql

0 commit comments

Comments
 (0)