@@ -31,10 +31,11 @@ FROM debian:sid-20201012-slim
31
31
32
32
LABEL org.opencontainers.image.authors="Joost van Ulden <joost.vanulden@canada.ca>, Anthony Fok <anthony.fok@canada.ca>"
33
33
LABEL 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 "
35
35
LABEL org.opencontainers.image.vendor="Government of Canada"
36
36
LABEL org.opencontainers.image.licenses="MIT"
37
37
38
+ SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
38
39
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/docker-snapshot.conf \
39
40
&& sed -i '/snapshot.debian.org/s/^# //; /deb.debian.org/s/^/# /' /etc/apt/sources.list \
40
41
&& 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 \
51
52
curl \
52
53
dos2unix \
53
54
gdal-bin \
55
+ gpg \
54
56
jq \
55
57
moreutils \
56
58
nano \
57
59
neovim \
58
- postgresql-client \
59
60
procps \
60
61
pv \
61
62
pypy3 \
@@ -72,12 +73,18 @@ Pin-Priority: 50' > /etc/apt/preferences.d/git-in-bullseye \
72
73
7zip \
73
74
git \
74
75
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 \
75
80
&& curl -fsSL --create-dirs --output /usr/share/keyrings/githubcli-archive-keyring.gpg \
76
81
https://cli.github.com/packages/githubcli-archive-keyring.gpg \
77
82
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
78
83
> /etc/apt/sources.list.d/github-cli.list \
79
84
&& 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 \
81
88
&& rm -rf /var/lib/apt/lists/*
82
89
83
90
COPY requirements.txt /tmp
0 commit comments