@@ -31,10 +31,11 @@ FROM debian:sid-20201012-slim
3131
3232LABEL org.opencontainers.image.authors=
"Joost van Ulden <[email protected] >, Anthony Fok <[email protected] >" 3333LABEL org.opencontainers.image.source="https://github.com/opendrr/python-env"
34- LABEL org.opencontainers.image.version="1.2.3 "
34+ LABEL org.opencontainers.image.version="1.2.4 "
3535LABEL org.opencontainers.image.vendor="Government of Canada"
3636LABEL org.opencontainers.image.licenses="MIT"
3737
38+ SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
3839RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/docker-snapshot.conf \
3940 && sed -i '/snapshot.debian.org/s/^# //; /deb.debian.org/s/^/# /' /etc/apt/sources.list \
4041 && echo 'deb http://deb.debian.org/debian bullseye main' >> /etc/apt/sources.list \
@@ -51,11 +52,11 @@ Pin-Priority: 50' > /etc/apt/preferences.d/git-in-bullseye \
5152 curl \
5253 dos2unix \
5354 gdal-bin \
55+ gpg \
5456 jq \
5557 moreutils \
5658 nano \
5759 neovim \
58- postgresql-client \
5960 procps \
6061 pv \
6162 pypy3 \
@@ -72,12 +73,18 @@ Pin-Priority: 50' > /etc/apt/preferences.d/git-in-bullseye \
7273 7zip \
7374 git \
7475 git-lfs \
76+ && curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor \
77+ | tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null \
78+ && echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main 14' \
79+ > /etc/apt/sources.list.d/pgdg.list \
7580 && curl -fsSL --create-dirs --output /usr/share/keyrings/githubcli-archive-keyring.gpg \
7681 https://cli.github.com/packages/githubcli-archive-keyring.gpg \
7782 && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
7883 > /etc/apt/sources.list.d/github-cli.list \
7984 && eatmydata apt-get update \
80- && eatmydata apt-get install -y --no-install-recommends gh \
85+ && eatmydata apt-get install -y --no-install-recommends \
86+ gh \
87+ postgresql-client \
8188 && rm -rf /var/lib/apt/lists/*
8289
8390COPY requirements.txt /tmp
0 commit comments