File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ RUN if [ "${CHECK_CODE}" = "cppcheck" ] ; then \
1313 fi
1414
1515RUN if [ "${CHECK_CODE}" = "false" ] ; then \
16- echo 'http://dl-3.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories; \
17- apk --no-cache add curl python3 gcc make musl-dev;\
16+ # echo 'http://dl-3.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories; \
17+ # Use alpine/v3.6/main instead of alpine/edge/main to fix version of clang to '8.*.*'
18+ # Install clang as well, since LLVM is enabled in PG_VERSION >= 11 by default
19+ apk --no-cache add curl python3 gcc clang make musl-dev --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/main;\
1820 fi
1921
2022RUN mkdir -p /pg/data && \
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ make USE_PGXS=1 install
4848status=$?
4949if [ $status -ne 0 ]; then exit $status ; fi
5050
51- # add pg_pathman to shared_preload_libraries and restart cluster 'test'
51+ # add pg_wait_sampling to shared_preload_libraries and restart cluster 'test'
5252echo " shared_preload_libraries = 'pg_wait_sampling'" >> $PGDATA /postgresql.conf
5353echo " port = 55435" >> $PGDATA /postgresql.conf
5454pg_ctl start -l /tmp/postgres.log -w
You can’t perform that action at this time.
0 commit comments