File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ ENV DEBIAN_FRONTEND="noninteractive"
99
1010# Install required packages and Mono
1111RUN set -eux; \
12+ # Extend SHA1 algorithm expiry date as per /usr/share/apt/default-sequoia.config
13+ install -d -m 0755 /etc/crypto-policies/back-ends; \
14+ cp /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config; \
15+ sed -i \
16+ 's/^sha1\. second_preimage_resistance.*/sha1.second_preimage_resistance = 2035-02-01/' \
17+ /etc/crypto-policies/back-ends/apt-sequoia.config; \
18+ \
19+ # Add Mono repository and install Mono
1220 install -d -m 0755 /etc/apt/keyrings; \
1321 wget -qO- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" | gpg --dearmor -o /etc/apt/keyrings/mono-official-archive-keyring.gpg; \
1422 printf 'Types: deb\n URIs: https://download.mono-project.com/repo/debian\n Suites: stable-buster\n Components: main\n Signed-By: /etc/apt/keyrings/mono-official-archive-keyring.gpg\n ' | tee /etc/apt/sources.list.d/mono-official-stable.sources >/dev/null; \
You can’t perform that action at this time.
0 commit comments