Skip to content

Commit fe8f88f

Browse files
committed
[FIX] COPY new Makefile files in Dockerfile
Else citus and azure targets stop working
1 parent c6337fa commit fe8f88f

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ ENV PG_CONFIG /usr/lib/postgresql/${PGVERSION}/bin/pg_config
108108
WORKDIR /usr/src/pg_auto_failover
109109

110110
COPY Makefile ./
111+
COPY Makefile.azure ./
112+
COPY Makefile.citus ./
111113
COPY ./src/ ./src
112114
COPY ./src/bin/pg_autoctl/git-version.h ./src/bin/pg_autoctl/git-version.h
113115
RUN make -s clean && make -s install -j8

Dockerfile.docs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN pip3 install sphinx_rtd_theme
2323
WORKDIR /usr/src/pg_auto_failover
2424

2525
COPY Makefile ./
26+
COPY Makefile.azure ./
27+
COPY Makefile.citus ./
2628
COPY ./src ./src
2729
COPY ./docs ./docs
2830

Dockerfile.i386

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
5656
WORKDIR /usr/src/pg_auto_failover
5757

5858
COPY Makefile ./
59+
COPY Makefile.azure ./
60+
COPY Makefile.citus ./
5961
COPY ./src/ ./src
6062
RUN make -s clean && make -s install
6163

docs/citus/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ RUN apt-get update \
5252
WORKDIR /usr/src/pg_auto_failover
5353

5454
COPY Makefile ./
55+
COPY Makefile.azure ./
56+
COPY Makefile.citus ./
5557
COPY src/ ./src
5658
RUN make -s clean && make -s install -j8
5759
RUN cp /usr/lib/postgresql/${PGVERSION}/bin/pg_autoctl /usr/local/bin

docs/tutorial/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ RUN apt-get update \
4343
WORKDIR /usr/src/pg_auto_failover
4444

4545
COPY Makefile ./
46+
COPY Makefile.azure ./
47+
COPY Makefile.citus ./
4648
COPY src/ ./src
4749
RUN make -s clean && make -s install -j8
4850
RUN cp /usr/lib/postgresql/${PGVERSION}/bin/pg_autoctl /usr/local/bin

0 commit comments

Comments
 (0)