diff --git a/docker/archive/Dockerfile b/docker/archive/Dockerfile index 9a5281e6..bce1d261 100644 --- a/docker/archive/Dockerfile +++ b/docker/archive/Dockerfile @@ -5,8 +5,6 @@ WORKDIR /app # Install Python for main.py ENV PYTHONUNBUFFERED=1 -# Deno trusts the system store, which apt keeps current, instead of its bundled roots. -ENV DENO_TLS_CA_STORE=system RUN apt update && apt install -y python3 python3-dev python3-venv curl unzip && ln -sf python3 /usr/bin/python RUN python3 -m venv /app/venv RUN . /app/venv/bin/activate diff --git a/wrolpi/test/test_trust_store.py b/wrolpi/test/test_trust_store.py index 7258ab2c..58623a13 100644 --- a/wrolpi/test/test_trust_store.py +++ b/wrolpi/test/test_trust_store.py @@ -24,7 +24,6 @@ def test_certifi_distrusts_root(label): ('etc/raspberrypios/wrolpi-api.service', 'Environment=DENO_TLS_CA_STORE=system'), ('etc/raspberrypios/wrolpi-api-dev.service', 'Environment=DENO_TLS_CA_STORE=system'), ('docker/api/Dockerfile', 'ENV DENO_TLS_CA_STORE=system'), - ('docker/archive/Dockerfile', 'ENV DENO_TLS_CA_STORE=system'), ]) def test_deno_uses_system_trust_store(path, setting): """Deno's bundled roots only change with a Deno upgrade; the system store is patched by apt."""