Skip to content

Commit d2806db

Browse files
authored
add ca-certificates: for accessing remote raster files; (#311)
* add ca-certificates: for accessing remote raster files; fix: #307 * add ca-certificates check the *-master template * fix master-template error
1 parent a6a9f02 commit d2806db

File tree

24 files changed

+135
-35
lines changed

24 files changed

+135
-35
lines changed

10-2.5/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ENV POSTGIS_VERSION 2.5.5+dfsg-1.pgdg90+2
88
RUN apt-get update \
99
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1010
&& apt-get install -y --no-install-recommends \
11+
# ca-certificates: for accessing remote raster files;
12+
# fix: https://github.com/postgis/docker-postgis/issues/307
13+
ca-certificates \
14+
\
1115
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
1216
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
1317
&& rm -rf /var/lib/apt/lists/*

10-2.5/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ RUN set -eux \
118118
libstdc++ \
119119
pcre \
120120
protobuf-c \
121+
\
122+
# ca-certificates: for accessing remote raster files
123+
# fix https://github.com/postgis/docker-postgis/issues/307
124+
ca-certificates \
121125
# clean
122126
&& cd / \
123127
&& rm -rf /usr/src/postgis \

10-3.2/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
88
RUN apt-get update \
99
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1010
&& apt-get install -y --no-install-recommends \
11+
# ca-certificates: for accessing remote raster files;
12+
# fix: https://github.com/postgis/docker-postgis/issues/307
13+
ca-certificates \
14+
\
1115
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
1216
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
1317
&& rm -rf /var/lib/apt/lists/*

10-3.2/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ RUN set -eux \
118118
libstdc++ \
119119
pcre \
120120
protobuf-c \
121+
\
122+
# ca-certificates: for accessing remote raster files
123+
# fix https://github.com/postgis/docker-postgis/issues/307
124+
ca-certificates \
121125
# clean
122126
&& cd / \
123127
&& rm -rf /usr/src/postgis \

11-2.5/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ENV POSTGIS_VERSION 2.5.5+dfsg-1.pgdg90+2
88
RUN apt-get update \
99
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1010
&& apt-get install -y --no-install-recommends \
11+
# ca-certificates: for accessing remote raster files;
12+
# fix: https://github.com/postgis/docker-postgis/issues/307
13+
ca-certificates \
14+
\
1115
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
1216
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
1317
&& rm -rf /var/lib/apt/lists/*

11-2.5/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ RUN set -eux \
118118
libstdc++ \
119119
pcre \
120120
protobuf-c \
121+
\
122+
# ca-certificates: for accessing remote raster files
123+
# fix https://github.com/postgis/docker-postgis/issues/307
124+
ca-certificates \
121125
# clean
122126
&& cd / \
123127
&& rm -rf /usr/src/postgis \

11-3.2/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
88
RUN apt-get update \
99
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1010
&& apt-get install -y --no-install-recommends \
11+
# ca-certificates: for accessing remote raster files;
12+
# fix: https://github.com/postgis/docker-postgis/issues/307
13+
ca-certificates \
14+
\
1115
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
1216
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
1317
&& rm -rf /var/lib/apt/lists/*

11-3.2/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ RUN set -eux \
118118
libstdc++ \
119119
pcre \
120120
protobuf-c \
121+
\
122+
# ca-certificates: for accessing remote raster files
123+
# fix https://github.com/postgis/docker-postgis/issues/307
124+
ca-certificates \
121125
# clean
122126
&& cd / \
123127
&& rm -rf /usr/src/postgis \

12-3.2/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
88
RUN apt-get update \
99
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1010
&& apt-get install -y --no-install-recommends \
11+
# ca-certificates: for accessing remote raster files;
12+
# fix: https://github.com/postgis/docker-postgis/issues/307
13+
ca-certificates \
14+
\
1115
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
1216
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
1317
&& rm -rf /var/lib/apt/lists/*

12-3.2/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ RUN set -eux \
118118
libstdc++ \
119119
pcre \
120120
protobuf-c \
121+
\
122+
# ca-certificates: for accessing remote raster files
123+
# fix https://github.com/postgis/docker-postgis/issues/307
124+
ca-certificates \
121125
# clean
122126
&& cd / \
123127
&& rm -rf /usr/src/postgis \

0 commit comments

Comments
 (0)