Skip to content

Commit 42a38b4

Browse files
committed
Fix apt invalid key
1 parent 69ccc11 commit 42a38b4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Dockerfiles/Dockerfile.jessie

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ ENV RUNTIME_TOOLS \
6666
curl
6767

6868

69+
###
70+
### Fix expiring apt keys
71+
###
72+
RUN set -eux \
73+
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until \
74+
&& { \
75+
echo "deb [trusted=yes] http://deb.debian.org/debian jessie main"; \
76+
echo "deb [trusted=yes] http://security.debian.org/debian-security jessie/updates main"; \
77+
echo "deb [trusted=yes] http://deb.debian.org/debian jessie-updates main"; \
78+
} > /etc/apt/sources.list
79+
80+
6981
###
7082
### Build OpenSSL
7183
###

0 commit comments

Comments
 (0)