File tree 2 files changed +5
-3
lines changed
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 \
13
13
fi
14
14
15
15
RUN 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;\
18
20
fi
19
21
20
22
RUN mkdir -p /pg/data && \
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ make USE_PGXS=1 install
48
48
status=$?
49
49
if [ $status -ne 0 ]; then exit $status ; fi
50
50
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'
52
52
echo " shared_preload_libraries = 'pg_wait_sampling'" >> $PGDATA /postgresql.conf
53
53
echo " port = 55435" >> $PGDATA /postgresql.conf
54
54
pg_ctl start -l /tmp/postgres.log -w
You can’t perform that action at this time.
0 commit comments