-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#379 Dockerfile using GDAL 3.8.4 and Postgres 11 plus BRK tables drop
- Loading branch information
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ghcr.io/osgeo/gdal:ubuntu-small-latest | ||
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4 | ||
|
||
LABEL maintainer="Just van den Broecke <[email protected]>" | ||
|
||
|
@@ -13,12 +13,14 @@ ENV TZ=${TIMEZONE} \ | |
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE="DontWarn" | ||
|
||
# https://www.ubuntuupdates.org/ppa/postgresql?dist=focal-pgdg need PG client version 10 | ||
# old: curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | ||
# https://www.ubuntuupdates.org/ppa/postgresql? | ||
# or use ARGS for other versions | ||
RUN \ | ||
apt-get update && apt-get --no-install-recommends install -y gnupg \ | ||
&& curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ | ||
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" >> /etc/apt/sources.list.d/postgresql.list' \ | ||
&& apt-get update \ | ||
apt-get update && apt-get --no-install-recommends install -y gnupg ca-certificates \ | ||
&& curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null \ | ||
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main" >> /etc/apt/sources.list.d/postgresql.list' \ | ||
&& apt-get -y update \ | ||
&& apt-get --no-install-recommends install -y ${DEB_PACKAGES} \ | ||
&& cp /usr/share/zoneinfo/${TZ} /etc/localtime \ | ||
&& dpkg-reconfigure --frontend=noninteractive tzdata | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters