Skip to content

Commit 45e1715

Browse files
committed
template: remove /tmp/pgis_reg test directory
1 parent 05f263c commit 45e1715

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile.alpine.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ RUN set -ex \
5656
&& make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
5757
&& su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \
5858
&& rm -rf /tempdb \
59+
&& rm -rf /tmp/pgis_reg \
5960
# add .postgis-rundeps
6061
&& apk add --no-cache --virtual .postgis-rundeps \
6162
json-c \

Dockerfile.master.template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,11 @@ RUN set -ex \
139139
&& su postgres -c 'pg_ctl -D /tempdb start' \
140140
&& ldconfig \
141141
&& cd regress \
142-
&& make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
142+
&& make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
143143
&& su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \
144144
&& rm -rf /tempdb \
145-
# clean
145+
&& rm -rf /tmp/pgis_reg \
146+
# clean
146147
&& cd / \
147148
&& rm -rf /usr/src/postgis \
148149
&& apt-get purge -y --autoremove \

0 commit comments

Comments
 (0)