Skip to content

Commit

Permalink
Fix apt invalid key
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Nov 20, 2022
1 parent 69ccc11 commit 42a38b4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfiles/Dockerfile.jessie
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ ENV RUNTIME_TOOLS \
curl


###
### Fix expiring apt keys
###
RUN set -eux \
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until \
&& { \
echo "deb [trusted=yes] http://deb.debian.org/debian jessie main"; \
echo "deb [trusted=yes] http://security.debian.org/debian-security jessie/updates main"; \
echo "deb [trusted=yes] http://deb.debian.org/debian jessie-updates main"; \
} > /etc/apt/sources.list


###
### Build OpenSSL
###
Expand Down

0 comments on commit 42a38b4

Please sign in to comment.