File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,15 @@ RUN if [ "${CHECK_CODE}" = "cppcheck" ] ; then \
1111 fi
1212
1313RUN if [ "${CHECK_CODE}" = "false" ] ; then \
14- apk --no-cache add curl gcc make musl-dev icu-dev;\
14+ apk --no-cache add git curl gcc make musl-dev icu-dev;\
1515 fi
1616
1717RUN mkdir -p /pg/data && \
1818 mkdir /pg/src && \
1919 chown postgres:postgres ${PGDATA} && \
2020 chmod a+rwx /usr/local/lib/postgresql && \
21- chmod a+rwx /usr/local/share/postgresql/extension
21+ chmod a+rwx /usr/local/share/postgresql/extension && \
22+ chmod a+rwx /usr/local/include/postgresql/server
2223
2324ADD . /pg/src
2425WORKDIR /pg/src
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ initdb
4242# build extension
4343make USE_PGXS=1 install
4444
45+ # build rum
46+ git clone https://github.com/postgrespro/rum.git
47+ pushd rum
48+ printf ' installincludes:\n\techo "includes are skipped"' >> Makefile
49+ make USE_PGXS=1 install
50+ popd
51+
4552# check build
4653status=$?
4754if [ $status -ne 0 ]; then exit $status ; fi
You can’t perform that action at this time.
0 commit comments