Skip to content

Commit

Permalink
Merge pull request #138 from opendatacube/bump-postgresql-client
Browse files Browse the repository at this point in the history
Bump postgresql client to version 16
  • Loading branch information
lars-fillmore authored May 23, 2024
2 parents 5d258aa + bf7be89 commit 7f16745
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions index/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.5
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.9.0

ENV DEBIAN_FRONTEND=noninteractive \
LC_ALL=C.UTF-8 \
LANG=C.UTF-8

RUN apt-get update \
&& apt-get upgrade -y \
# Python virt environment
&& apt-get install -y --no-install-recommends \
virtualenv \
&& mkdir /virtualenv \
&& virtualenv /virtualenv/python3.12 \
&& . /virtualenv/python3.12/bin/activate \
# Developer convenience
&& apt-get install -y --no-install-recommends \
git \
Expand All @@ -14,21 +20,23 @@ RUN apt-get update \
unzip \
# Build tools\
build-essential \
python3-pip \
python3-dev \
# For Psycopg2
libpq-dev\
libpq-dev \
# Yaml parsing speedup, I think
libyaml-dev \
lsb-release \
# for shapely with --no-binary
libgeos-dev \
postgresql-client-14 \
postgresql-client-16 \
# Cleanup
&& apt-get autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/{apt,dpkg,cache,log}

ENV VIRTUAL_ENV /virtualenv/python3.12
ENV PATH /virtualenv/python3.12/bin:$PATH

COPY requirements.txt constraints.txt version.txt /conf/

RUN cat /conf/version.txt \
Expand Down
2 changes: 1 addition & 1 deletion index/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ numpy==1.26.4
# xarray
odc-apps-cloud==0.2.3
# via -r requirements.txt
odc-apps-dc-tools==0.2.16
odc-apps-dc-tools==0.2.17
# via -r requirements.txt
odc-cloud==0.2.5
# via
Expand Down
2 changes: 1 addition & 1 deletion index/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3

0 comments on commit 7f16745

Please sign in to comment.