Content-Length: 275327 | pFad | http://github.com/postgrespro/postgres_cluster/commit/530b78d6f59e6049bcb1bfb681043753dc9e3b00

F1 fix incremental container build · postgrespro/postgres_cluster@530b78d · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/530b78d6f59e6049bcb1bfb681043753dc9e3b00

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy