Skip to content

Commit 530b78d

Browse files
committed
fix incremental container build
1 parent b40b154 commit 530b78d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/mmts/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,19 @@ RUN cd /pg && \
3232
./configure --enable-cassert --enable-debug --prefix=/pg/install && \
3333
make -j 4 install
3434

35-
RUN mkdir /pg/data
3635
ENV PATH /pg/install/bin:$PATH
3736
ENV PGDATA /pg/data
37+
RUN mkdir PGDATA
3838

3939
# Here we can insert some ENV var to invalidate subsequent layers
4040

4141
RUN cd /pg/postgres_cluster/contrib/raftable && make install
4242

4343
RUN mkdir /pg/mmts
4444
COPY ./ /pg/mmts/
45-
RUN cd /pg/mmts && USE_PGXS=1 RAFTABLE_PATH=/pg/postgres_cluster/contrib/raftable make install
45+
ENV RAFTABLE_PATH /pg/postgres_cluster/contrib/raftable
46+
ENV USE_PGXS 1
47+
RUN cd /pg/mmts && make clean && make install
4648

4749
ENTRYPOINT ["/pg/mmts/tests2/docker-entrypoint.sh"]
4850

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy