Skip to content

Commit 98e0913

Browse files
committed
Update snapshot.debian.org repo date to 20200731
to more closely match original opendrr/python-env image, e.g. git was upgraded from 1:2.28.0~rc1-1 (2020-07-20) to 1:2.28.0-1 (2020-07-31).
1 parent b415694 commit 98e0913

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ LABEL org.opencontainers.image.source="https://github.com/opendrr/python-env"
3737
COPY . .
3838

3939
RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/docker-snapshot.conf && \
40-
sed -i '/snapshot.debian.org/s/^# //; /deb.debian.org/s/^/# /' /etc/apt/sources.list && \
41-
apt-get update && apt-get install -y libpq-dev gcc curl git-lfs gdal-bin python3-pip && \
40+
sed -i '/snapshot.debian.org/s/^# //; /deb.debian.org/s/^/# /; s/20200720/20200731/' /etc/apt/sources.list && \
41+
apt-get update && apt-get dist-upgrade -y && \
42+
apt-get install -y libpq-dev gcc curl git-lfs gdal-bin python3-pip && \
4243
pip3 install psycopg2~=2.6 && \
4344
apt-get autoremove -y gcc && \
4445
apt-get install -y postgresql-client && \

0 commit comments

Comments
 (0)