File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ LABEL org.opencontainers.image.source="https://github.com/opendrr/python-env"
37
37
COPY . .
38
38
39
39
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 && \
42
43
pip3 install psycopg2~=2.6 && \
43
44
apt-get autoremove -y gcc && \
44
45
apt-get install -y postgresql-client && \
You can’t perform that action at this time.
0 commit comments