Skip to content

Commit 62ac2b2

Browse files
committed
ci: wip
Signed-off-by: Niccolò Fei <[email protected]>
1 parent d8ba087 commit 62ac2b2

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

Dockerfile

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -134,27 +134,28 @@ RUN apt-get purge -y --auto-remove $(cat /build-deps.txt) && \
134134
rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*
135135
USER 26
136136

137-
FROM build-layer AS postgis
138-
ARG POSTGIS_REPO=https://github.com/postgis/postgis.git
139-
ARG POSTGIS_BRANCH=master
140-
141-
RUN apt-get update && \
142-
apt-get install -y --no-install-recommends \
143-
libproj25 \
144-
libpq5 \
145-
libgdal32 \
146-
libgeos-c1v5 \
147-
libsfcgal1 \
148-
&& \
149-
mkdir -p /usr/src/postgis && \
150-
git clone -b "$POSTGIS_BRANCH" --single-branch "$POSTGIS_REPO" /usr/src/postgis && \
151-
cd /usr/src/postgis && \
152-
./autogen.sh && \
153-
./configure --with-pgconfig=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config --with-sfcgal && \
154-
make -j$(nproc) && \
155-
make install && \
156-
rm -rf /usr/src/postgis
157-
158-
RUN apt-get purge -y --auto-remove $(cat /build-deps.txt) && \
159-
rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*
160-
USER 26
137+
# TODO: re-enable PostGIS once https://trac.osgeo.org/postgis/ticket/5965 is fixed
138+
# FROM build-layer AS postgis
139+
# ARG POSTGIS_REPO=https://github.com/postgis/postgis.git
140+
# ARG POSTGIS_BRANCH=master
141+
#
142+
# RUN apt-get update && \
143+
# apt-get install -y --no-install-recommends \
144+
# libproj25 \
145+
# libpq5 \
146+
# libgdal32 \
147+
# libgeos-c1v5 \
148+
# libsfcgal1 \
149+
# && \
150+
# mkdir -p /usr/src/postgis && \
151+
# git clone -b "$POSTGIS_BRANCH" --single-branch "$POSTGIS_REPO" /usr/src/postgis && \
152+
# cd /usr/src/postgis && \
153+
# ./autogen.sh && \
154+
# ./configure --with-pgconfig=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config --with-sfcgal && \
155+
# make -j$(nproc) && \
156+
# make install && \
157+
# rm -rf /usr/src/postgis
158+
#
159+
# RUN apt-get purge -y --auto-remove $(cat /build-deps.txt) && \
160+
# rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*
161+
# USER 26

0 commit comments

Comments
 (0)