Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit063909e

Browse files
committed
fix incremental container build
1 parentfa309d4 commit063909e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp